Use the online Argon2 Hash Generator to generate the hashed password for the VSCode Server.
Enter your unhashed password. Save that password for later uses when you log into the IDE.
Ensure the following parameters, or your password will be unusable:
Click Generate Hash
Copy the hashed password. Save it so you would enter it during the CloudFormation Stack creation.
Go to the CloudFormation Console to proceed with stack creation.
Use this yaml file to deploy your CloudFormation stack.
STACK_NAME will be used as the header or header of the names of the services in this lab. Example: alb-STACK_NAME-XXX
In the Parameters section:
For IdeAmiId, the default value is the latest Amazon Linux 2023 AMI. You can replace it with another AMI as you desire.
Enter an instance type. To minimize cost, keep the t2.micro
(free-tier eligible) or t3.micro
. For better performance, it is Recommended to use t3.small
or larger types instead.
Select false for SkipBucket
For VSCodeServerVersion, enter your desired version (without the “v” at the beginning). You can see the list of versions here.
Click Next
Proceed to Configure stack options
Tick the checkbox on I acknowledge that AWS CloudFormation might create IAM resources, then click Next.
This stack initializes An EC2 instance with VSCode Server IDE installed, a DynamoDB Table, LoadBalancerDNS, ProfileName, S3WebsiteURL, SiteBucket.