https://github.com/jdmacleod/aws-cdk-dcv-deploy-server
AWS CDK Example - Deploy DCV-accessible Workstations on EC2
https://github.com/jdmacleod/aws-cdk-dcv-deploy-server
aws cdk dcv ec2 example
Last synced: 8 months ago
JSON representation
AWS CDK Example - Deploy DCV-accessible Workstations on EC2
- Host: GitHub
- URL: https://github.com/jdmacleod/aws-cdk-dcv-deploy-server
- Owner: jdmacleod
- Created: 2025-04-27T00:57:34.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-05-06T21:00:17.000Z (9 months ago)
- Last Synced: 2025-06-04T08:54:44.817Z (8 months ago)
- Topics: aws, cdk, dcv, ec2, example
- Language: Python
- Homepage: https://github.com/aws-samples/amazon-ec2-nice-dcv-samples
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AWS CDK - Deploy DCV Server
Creates minimal infrastructure for DCV (a VPC, some roles); Deploys a DCV server instance
- Using a specific DCV instance AMI
- Into an existing VPC
- Using a specific hardware profile
## Prerequisites
- [Python](https://www.python.org/) (tested with Python 3.13, but other versions may work.)
- [AWS CDK](https://docs.aws.amazon.com/cdk/v2/guide/getting_started.html)
## Quickstart
```bash
cdk synth
```
```bash
cdk list
DcvInfraStack
DcvServerLinuxStackRocky9
DcvServerLinuxStackUbuntu22
DcvServerLinuxStackUbuntu24
DcvServerLinuxStackAL2
DcvServerLinuxStackAL2023
DcvServerLinuxStackSUSE15
```
```bash
cdk deploy DcvServerLinuxStackRocky9
...
Outputs:
DcvServerLinuxStackRocky9.ServerInstanceURL = Server was created with public DNS at https://ec2-54-214-202-13.us-west-2.compute.amazonaws.com
```
## CDK Server Stacks
name | OS | default user | notes
--- | --- | --- | --- |
Ubuntu22 | Ubuntu 22 | ubuntu | working
Ubuntu24 | Ubuntu 24 | ubuntu | working with ubuntu pro 24 AMI (not working when tried with 24 LTS AMI)
Rocky9 | Rocky 9 | rocky | working
AL2 | Amazon Linux 2 | ec2-user | working
AL2023 | Amazon Linux 2023 | ec2-user | working
SUSE15 | Suse 15 | ec2-user | working
## Reference