The security group of the target instance can be changed (operationally)
The EC2 instance has already been configured with an EIP (if the instance is not configured with an EIP when it is restarted, you will not be able to log in again using Cloud9).
The region is Tokyo (if it is not Tokyo, you need to check the bandwidth to allow 22 ports).
(If not, you need to check the bandwidth to allow 22 ports.
Procedure
allow 18.179.48.128/27, 18.179.48.96/27 in the EC2 security group for 22port
enter an appropriate Name and Description, and click NextStep.
Enter appropriate values in "User" and "Port", and enter GIP in "Host". 1.
Select "Connect and run in remote server (SSH)," click "View public SSH key," and add the displayed public key to /home/{User}/.ssh/authorized_keys of the target EC2 instance. 1.
Click "Next Step", and after confirming that the contents are correct, click "Create environment" to complete the preparation for building cloud9. You can check the progress on the screen.
Appendix
Make it accessible to users other than the one you created. 1.
Login to cloud9 and click "Share" in the upper right corner. 2.
Enter the IAM User name in the "Invite Members" field and click the "Invite" button.
I get an error such as "Could not run node" and cannot create aws cloud9
If your EC2 is Amazon Linux, nodejs may not be in the yum repository, so install nodejs beforehand using nvm.
I want to create it outside of the Tokyo region, so I need to know what IP bands to allow.
create an EC2 for aws cloud9 using "Create a new instance for environment (EC2)" (delete it later). 2.
the IP band set in the security group of the created EC2 is the IP address that will be accessed by the region. 3.
Delete the aws cloud9 EC2 created in step 1 and create aws cloud9 using the procedure described at the beginning of this section.
How to fix the problem if you forgot your EIP and created a cloud9. 1.
issue an EIP and link it to the target instance (at this point, you will be temporarily unable to connect to cloud9)
(At this point, you will be temporarily unable to connect to cloud9.) 2. log in to the aws cloud9 console and [Edit] the target environment. 3.
change the IP of [Host] to the one of EIP, and click [Save Changes].
Allowed bandwidth for Oregon
34.218.119.32/27, 34.217.141.224/27
Translated with www.DeepL.com/Translator (free version)
Prerequisites
An EC2 instance has already been built
The security group of the target instance can be changed (operationally)
The EC2 instance has already been configured with an EIP (if the instance is not configured with an EIP when it is restarted, you will not be able to log in again using Cloud9).
The region is Tokyo (if it is not Tokyo, you need to check the bandwidth to allow 22 ports).
(If not, you need to check the bandwidth to allow 22 ports.
Procedure
allow 18.179.48.128/27, 18.179.48.96/27 in the EC2 security group for 22port
go to https://ap-northeast-1.console.aws.amazon.com/cloud9/home?region= p-northeast-1= AWS Cloud9]
click "Create environment".
enter an appropriate Name and Description, and click NextStep. Enter appropriate values in "User" and "Port", and enter GIP in "Host". 1. Select "Connect and run in remote server (SSH)," click "View public SSH key," and add the displayed public key to /home/{User}/.ssh/authorized_keys of the target EC2 instance. 1. Click "Next Step", and after confirming that the contents are correct, click "Create environment" to complete the preparation for building cloud9. You can check the progress on the screen.
Appendix
Make it accessible to users other than the one you created. 1.
Login to cloud9 and click "Share" in the upper right corner. 2. Enter the IAM User name in the "Invite Members" field and click the "Invite" button.
I get an error such as "Could not run node" and cannot create aws cloud9
If your EC2 is Amazon Linux, nodejs may not be in the yum repository, so install nodejs beforehand using nvm.
I want to create it outside of the Tokyo region, so I need to know what IP bands to allow.
create an EC2 for aws cloud9 using "Create a new instance for environment (EC2)" (delete it later). 2.
the IP band set in the security group of the created EC2 is the IP address that will be accessed by the region. 3. Delete the aws cloud9 EC2 created in step 1 and create aws cloud9 using the procedure described at the beginning of this section.
How to fix the problem if you forgot your EIP and created a cloud9. 1.
issue an EIP and link it to the target instance (at this point, you will be temporarily unable to connect to cloud9) (At this point, you will be temporarily unable to connect to cloud9.) 2. log in to the aws cloud9 console and [Edit] the target environment. 3.
change the IP of [Host] to the one of EIP, and click [Save Changes].
Allowed bandwidth for Oregon
34.218.119.32/27, 34.217.141.224/27
Translated with www.DeepL.com/Translator (free version)