-
Notifications
You must be signed in to change notification settings - Fork 81
Release 1.25.0 #702
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Release 1.25.0 #702
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
4321b66
initial commit
576b0a3
chore(docs): document IRSA requirements for ECR (#703)
johnstcn 080d5a8
chore: add Kubernetes support notice to changelog (#704)
jawnsy 2c9f566
update dev URL renaming
13d789a
add upgrade guide
f1065c4
Merge branch 'release-1.25' of https://github.com/cdr/docs into relea…
fbec190
update env variables list
3d08cc1
update workspace creation instructions
24f4ed5
correct(docs): mark IRSA auth as alpha (#708)
johnstcn 4cd491c
update workspaces status check info
dcff26c
update changelog
e2abaa7
add info re: self-contained builds
1996ab7
Add note re: bookmarks
26c8479
add information re: affinities
fea4399
update changelog
e78adb9
Update admin/workspace-management/self-contained-builds.md
016d4bd
add docker mention
58a9554
Merge branch 'release-1.25' of https://github.com/cdr/docs into relea…
f5a03bf
chore: add EC2 docs (#699)
ed7e880
Update workspace provider admin docs for service account annotations …
f0ssel d030118
Add service account screenshot asset
f0ssel a457195
Add note for requiring serviceaccount resource
f0ssel 1fd4b15
lint
f0ssel 9a0896f
edit text
d768fc1
archive changelogs
b15abde
chore: add Coder for Docker docs (#709)
7dddbac
add Docker link
6b4dcb8
reverse order of changelogs
771953d
update version
1fe3b84
Add note about not supporting CVMs
f0ssel 4f7bdec
Add affiity to changelog
f0ssel 9d8d0bb
Lint; edit text
9bca304
lint
f0ssel d3b2db9
fix merge conflict
0dcf920
edit text
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
title: "Self-contained workspace builds" | ||
description: Learn how to enable self-contained workspace builds. | ||
state: alpha | ||
--- | ||
|
||
By default the Coder workspace boot sequence occurs remotely -- Coder uploads | ||
assets (including the Coder agent, code-server, and JetBrains Projector) from | ||
`coderd` to a workspace. | ||
|
||
However, Coder offers the option of using **self-contained workspace builds**. | ||
Enabling this option changes the Coder deployment so that workspaces control the | ||
boot sequence internally, with the workspace downloading assets from `coderd`. | ||
|
||
> At this time, Coder does not support certificate injectioin with | ||
> self-contained workspace builds. | ||
|
||
To enable self-contained workspace builds: | ||
|
||
1. Log into Coder. | ||
1. Go to Manage > Admin. | ||
1. On the Infrastructure page, scroll down to **Workspace container runtime**. | ||
1. Under **Enable self-contained workspace builds**, flip the toggle to **On**. | ||
1. Click **Save workspaces**. | ||
|
||
> Build errors are typically more verbose for remote builds than with | ||
> self-contained builds. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,144 @@ | ||
--- | ||
title: EC2 | ||
description: Learn how to deploy a workspace provider to an EC2 cluster. | ||
state: alpha | ||
--- | ||
|
||
This article walks you through the process of deploying a workspace provider to | ||
an EC2 instance. | ||
|
||
The use of EC2 providers is currently an **alpha** feature. Before using, please | ||
enable this feature under **Feature Preview**: | ||
|
||
1. Log into Coder as a site manager or site admin. | ||
1. In the top-right, click on your avatar and select **Feature Preview**. | ||
1. Select **Amazon EC2 (Docker) providers** and click **Enable**. | ||
|
||
## Prerequisites | ||
|
||
You must have an | ||
[**AWS access key ID** and **secret access key**](https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys). | ||
|
||
We recommend having the [AWS CLI](https://aws.amazon.com/cli/) installed and | ||
configured as well. | ||
|
||
### IAM permissions | ||
|
||
To manage EC2 providers for your Coder deployment, create an IAM policy and | ||
attach it to the IAM identity (e.g., role) that will be managing your resources | ||
(be sure to update or remove `aws:RequestedRegion` accordingly): | ||
|
||
```json | ||
{ | ||
"Version": "2012-10-17", | ||
"Statement": [ | ||
{ | ||
"Effect": "Deny", | ||
"Action": "ec2:*", | ||
"Resource": "*", | ||
"Condition": { | ||
"StringNotEquals": { | ||
"aws:RequestedRegion": "us-east-1" | ||
} | ||
} | ||
}, | ||
{ | ||
"Effect": "Allow", | ||
"Action": [ | ||
"ec2:DescribeAccountAttributes", | ||
"ec2:DescribeSubnets", | ||
"ec2:CreateSecurityGroup", | ||
"ec2:DescribeSecurityGroups", | ||
"ec2:AuthorizeSecurityGroupIngress", | ||
"ec2:DeleteSecurityGroup", | ||
"ec2:ImportKeyPair", | ||
"ec2:DescribeKeyPairs", | ||
"ec2:CreateVolume", | ||
"ec2:DescribeVolumes", | ||
"ec2:AttachVolume", | ||
"ec2:DeleteVolume", | ||
"ec2:RunInstances", | ||
"ec2:DescribeInstances", | ||
"ec2:DescribeInstanceStatus", | ||
"ec2:TerminateInstances", | ||
"ec2:DescribeInstanceTypes", | ||
"ec2:CreateTags" | ||
], | ||
"Resource": "*" | ||
} | ||
] | ||
} | ||
``` | ||
|
||
## 1. Select the workspace provider type to create | ||
|
||
1. Log into Coder as a site manager, and go to **Manage** > **Workspace | ||
providers**. | ||
|
||
1. In the top-right next to **Create Kubernetes Provider**, click on the **down | ||
arrow** and select **Create Amazon EC2 Provider**. | ||
|
||
1. Provide a **name** to identify the provider. | ||
|
||
## 2. Configure the connection to AWS | ||
|
||
Provide the requested configuration details to connect Coder to your AWS | ||
account: | ||
|
||
- **Access key ID**: the AWS access key associated with your account | ||
- **Secret access key**: the AWS secret access key associated with your account | ||
- **AWS region ID**: select the AWS region where the EC2 instances should be | ||
created | ||
- **AWS availability zone**: the AWS availability zone associated with the | ||
region where the EC2 instances are created | ||
|
||
## 3. Provide networking information (optional) | ||
|
||
Provide the following networking options if desired: | ||
|
||
- VPC ID: Optional. The VPC network to which instances should be attached. If | ||
you leave this field empty, Coder uses the default VPC ID in the specified | ||
region for your EC2 instances | ||
- Subnet ID: Optional. The | ||
[ID of the subnet](https://docs.aws.amazon.com/managedservices/latest/userguide/find-subnet.html) | ||
associated with your VPC and availability zone. If you leave this field empty, | ||
Coder uses the default subnet associated with the VPC in your region and | ||
availability zone. | ||
|
||
## 4. Provide AMI configuration information | ||
|
||
Specify the Amazon Machine Image configuration you want to be used when | ||
launching workspaces: | ||
|
||
- **Privileged mode**: Optional. check this box if you would like the workspace | ||
container to have read/write access to the EC2 instance's host filesystem | ||
|
||
> Privileged mode may pose a security risk to your organization. We recommend | ||
> enabling this feature only if users need full access to the host (e.g., kernel | ||
> driver development or running Docker-in-Docker). | ||
|
||
- **AMI ID**: the Amazon machine image ID to be used when creating the EC2 | ||
instances; the machine image used must contain and start a Docker daemon. If | ||
blank, Coder defaults to an image that meets the requirements. If you selected | ||
a supported AWS region, this will auto-populate with a supported AMI (though | ||
you are welcome to change it) | ||
- **Instance types**: Optional. The EC2 instance types that users can provision | ||
using the workspace provider. Provide each instance type on a separate line; | ||
wildcard characters are allowed | ||
- **AMI SSH username**: the SSH login username used by Coder to connect to EC2 | ||
instances. Must be set if you provide a custom AMI ID (this value may be | ||
auto-populated depending on the AMI you choose)) | ||
- **Root volume size**: the storage capacity to be reserved for the copy of the | ||
AMI | ||
- **Docker volume size**: the storage capacity used for the Docker daemon | ||
directory; stores the workspace image and any ephemeral data outside of the | ||
home directory | ||
|
||
## 5. Enable external connections (optional) | ||
|
||
Toggle **external connect** on if you would like to enable SSH connections to | ||
your workspaces via the Coder CLI. | ||
|
||
## 6. Create the provider | ||
|
||
Click **Create provider** to proceed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: Deployment | ||
description: Learn how to deploy a workspace provider to a cluster. | ||
--- | ||
|
||
<children></children> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.