1 個回答
- 最新
- 最多得票
- 最多評論
1
You have 2 ways of doing it:
- You can clone your existing instance. Going to EC2, you can create an AMI from the cloud9 instance and launch a new instance from it. Then, from cloud9 you create a new environment to connect to the existing instance just launched.
- You can bootstrap your instance. Knowing what you have installed, you can have a script which will configure the instance based on the tools you need. Here an example: https://github.com/aws-samples/aws-cloud9-bootstrapping-example
已回答 2 年前
相關內容
- 已提問 1 年前
- AWS 官方已更新 1 年前
Thank you! Yes, cloning the existing EC2 instance and manually configuring a new Cloud9 environment to use it worked. It was relatively convoluted (I had to SSH into the new EC2 instance to provide the public key for example), and I had to rely on this guide: https://towardsdatascience.com/creating-aws-ec2-and-connecting-it-with-aws-cloud9-ide-and-aws-s3-a6313aa82ec
I wish it were just a button to copy a Cloud9 environment, but it must not be a common enough need to warrant building (I assume)