@@ -6,6 +6,22 @@ tags: [cloud, aws]
6
6
7
7
# aws-windows
8
8
9
+ ## Connecting via RDP
10
+
11
+ You can connect to your workspace over a RDP tunnel. First, ensure
12
+ you have the [ Coder] ( https://coder.com/docs/coder-oss/latest/install ) CLI installed on your local machine.
13
+
14
+ In a terminal session, open a tunnel with the RDP port:
15
+
16
+ ``` sh
17
+ coder tunnel < workspace-name> --tcp 3301:3389
18
+ ```
19
+
20
+ With a RDP client on your local machine, connect to ` 127.0.0.1:3301 ` .
21
+
22
+ Username: Administrator
23
+ Password: ` see value on workspace page `
24
+
9
25
## Getting started
10
26
11
27
To get started, run ` coder templates init ` . When prompted, select this template.
@@ -15,7 +31,7 @@ Follow the on-screen instructions to proceed.
15
31
16
32
This template assumes that coderd is run in an environment that is authenticated
17
33
with AWS. For example, run ` aws configure import ` to import credentials on the
18
- system and user running coderd. For other ways to authenticate [ consult the
34
+ system and user running coderd. For other ways to authenticate [ consult the
19
35
Terraform docs] ( https://registry.terraform.io/providers/hashicorp/aws/latest/docs#authentication-and-configuration ) .
20
36
21
37
## Required permissions / policy
@@ -25,48 +41,48 @@ instances provisioned by Coder:
25
41
26
42
``` json
27
43
{
28
- "Version" : " 2012-10-17" ,
29
- "Statement" : [
30
- {
31
- "Sid" : " VisualEditor0" ,
32
- "Effect" : " Allow" ,
33
- "Action" : [
34
- " ec2:GetDefaultCreditSpecification" ,
35
- " ec2:DescribeIamInstanceProfileAssociations" ,
36
- " ec2:DescribeTags" ,
37
- " ec2:CreateTags" ,
38
- " ec2:RunInstances" ,
39
- " ec2:DescribeInstanceCreditSpecifications" ,
40
- " ec2:DescribeImages" ,
41
- " ec2:ModifyDefaultCreditSpecification" ,
42
- " ec2:DescribeVolumes"
43
- ],
44
- "Resource" : " *"
45
- },
46
- {
47
- "Sid" : " CoderResources" ,
48
- "Effect" : " Allow" ,
49
- "Action" : [
50
- " ec2:DescribeInstances" ,
51
- " ec2:DescribeInstanceAttribute" ,
52
- " ec2:UnmonitorInstances" ,
53
- " ec2:TerminateInstances" ,
54
- " ec2:StartInstances" ,
55
- " ec2:StopInstances" ,
56
- " ec2:DeleteTags" ,
57
- " ec2:MonitorInstances" ,
58
- " ec2:CreateTags" ,
59
- " ec2:RunInstances" ,
60
- " ec2:ModifyInstanceAttribute" ,
61
- " ec2:ModifyInstanceCreditSpecification"
62
- ],
63
- "Resource" : " arn:aws:ec2:*:*:instance/*" ,
64
- "Condition" : {
65
- "StringEquals" : {
66
- "aws:ResourceTag/Coder_Provisioned" : " true"
67
- }
68
- }
44
+ "Version" : " 2012-10-17" ,
45
+ "Statement" : [
46
+ {
47
+ "Sid" : " VisualEditor0" ,
48
+ "Effect" : " Allow" ,
49
+ "Action" : [
50
+ " ec2:GetDefaultCreditSpecification" ,
51
+ " ec2:DescribeIamInstanceProfileAssociations" ,
52
+ " ec2:DescribeTags" ,
53
+ " ec2:CreateTags" ,
54
+ " ec2:RunInstances" ,
55
+ " ec2:DescribeInstanceCreditSpecifications" ,
56
+ " ec2:DescribeImages" ,
57
+ " ec2:ModifyDefaultCreditSpecification" ,
58
+ " ec2:DescribeVolumes"
59
+ ],
60
+ "Resource" : " *"
61
+ },
62
+ {
63
+ "Sid" : " CoderResources" ,
64
+ "Effect" : " Allow" ,
65
+ "Action" : [
66
+ " ec2:DescribeInstances" ,
67
+ " ec2:DescribeInstanceAttribute" ,
68
+ " ec2:UnmonitorInstances" ,
69
+ " ec2:TerminateInstances" ,
70
+ " ec2:StartInstances" ,
71
+ " ec2:StopInstances" ,
72
+ " ec2:DeleteTags" ,
73
+ " ec2:MonitorInstances" ,
74
+ " ec2:CreateTags" ,
75
+ " ec2:RunInstances" ,
76
+ " ec2:ModifyInstanceAttribute" ,
77
+ " ec2:ModifyInstanceCreditSpecification"
78
+ ],
79
+ "Resource" : " arn:aws:ec2:*:*:instance/*" ,
80
+ "Condition" : {
81
+ "StringEquals" : {
82
+ "aws:ResourceTag/Coder_Provisioned" : " true"
69
83
}
70
- ]
84
+ }
85
+ }
86
+ ]
71
87
}
72
88
```
0 commit comments