- Newest
- Most votes
- Most comments
Hello.
but it's particularly acute in the Stockholm region, where I am unable to even establish a connection to an EC2 instance.
If you can't connect to EC2, does that mean you can't connect with SSH or something?
In that case, please check if there is a route to the Internet gateway in the route table of the subnet where EC2 is running.
Also make sure that SSH is allowed in the EC2 security group.
If you are connecting using Systems Manager's session manager, please also check whether the "AmazonSSMManagedInstanceCore" policy is set in the EC2 IAM role.
Is your EC2 running in a private subnet?
In that case, you will need to configure a NAT Gateway or VPC endpoint to communicate with CodeDeploy.
https://docs.aws.amazon.com/codedeploy/latest/userguide/vpc-endpoints.html#create-vpc-endpoint-for-codedeploy
Relevant content
- asked 4 years ago
- asked 5 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 2 years ago