Cannot use Ubuntu when creating Cloud9 EC2 environment.
See original GitHub issue-
I’m submitting a …
- 🪲 bug report
- 🚀 feature request
- 📚 construct library gap
- ☎️ security issue or vulnerability => Please see policy
- ❓ support request => Please see note at the top of this template.
-
What is the current behavior? If the current behavior is a 🪲bug🪲: Please provide the steps to reproduce
The API, https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-cloud9.CfnEnvironmentEC2.html, does not provide a way to select Ubuntu as a platform when creating a Cloud9 EC2 environment.
private buildCloud9Environment = (envId: string): cloud9.CfnEnvironmentEC2 => {
const c9 = new cloud9.CfnEnvironmentEC2(this, envId, {
name: envId,
description: 'For accessing staging stack',
subnetId: this._vpcSubnet,
instanceType: 't2.small',
automaticStopTimeMinutes: 30,
});
return c9;
}
- What is the expected behavior (or behavior of feature suggested)?
One should be able to choose Amazon Linux vs Ubuntu.
- What is the motivation / use case for changing the behavior or adding this feature?
I’m more familiar with Debian flavors of Linux.
-
Please tell us about your environment:
- Language: TypeScript
-
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. associated pull-request, stackoverflow, gitter, etc)
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Troubleshooting AWS Cloud9
If the environment is an SSH environment, make sure the cloud compute instance associated with it or your own server is set up...
Read more >SSH into AWS Cloud9 Environment - Stack Overflow
So it seems that I can't SSH into a Cloud9 environment that I've created through Cloud9. It seems instead that I have to...
Read more >Creating AWS EC2 and connecting it with AWS Cloud9 IDE ...
From AWS Management Console, inside the Developer Tools choose Cloud9. ... Press Create environment. Add any name for that environment then press ...
Read more >create-environment-ec2 — AWS CLI 2.9.7 Command Reference
Creates an Cloud9 development environment, launches an Amazon Elastic Compute ... A system tag is prefixed with "aws:" and cannot be modified by...
Read more >Find Answers to AWS Questions about AWS Cloud9
Questions tagged with AWS Cloud9 ... unable to create cloud9 environment ... after about 1-2 hours of constant use on a t3.large Ubuntu...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @realharry!
Thank you for reaching out. Unfortunately, @nmussy is correct, and this is not a feature that is supported by Cloudformation. This makes it difficult for us to implement, and so we typically wait for Cloudformation coverage.
I have put in a ticket to the Cloudformation team regarding this and will update this issue when I can. 😸
Great! Thanks very much, @NGL321 @nmussy. Have a wonderful Friday!!