Troubleshooting Flashcards
EC2 Troubleshooting – Connectivity issues to an EC2 instance
Correct ports on the security group are may not be open.
Cannot attach an EBS volume to an EC2 instance
EBS volumes must live in the same AZ as EC2 instance.
create a snapshot from volume and launch volume in the correct AZ.
Cannot launch additional instances
probably reached the EC2 limit and need to contact AWS to increase limit.
Unable to download package updates
EC2 may not have a public/EIP address, or desnot belong to a public subnet
Applications seeming to slow down on T2 micro instances
t2 micro instances utilized CPU credits(for “burstable” processing). so chances are your application is using too much processing power and needs a larger instance or different instance type.
AMI upavailable in other regions
AMI are only available in the regions that they are created.
an AMI can be copied to another region but will receive a new AMI id.
Capacity error when attempting to launch an instance in a placement group
start and stop all the instances in the placement group(AWS tries to locate them as close as possible).
New EC2 instances are not automatically being assigned a public IP address
auto-assign public IP setting on the subnet is checked.
NAT gateway is configured but instances inside a private subnet still cannot download packages
Need to add 0.0.0.0/0 route to the NAT gateway on the route table for private subnets.
Traffic is not making it to the instances even though security group rules are correct
check the NACL to ensure the proper ports from the proper sources are open(also check your IGW and route table settings).
Error when attempting to attach multiple internet gateways to a VPC
Only one internet gateway can be attached to a VPC at any given time.
error when attempting to attach multiple Virtual Private gateways to a VPC
only one virtual private gateway can be attached to a VPC at any given time.
VPC Security group for EC2 instnace does not have enough rules for the required application
Assign the EC2 instance to multiple Security groups.
Cannot SSH/communicate with resources inside of a private subnet.
not set up a VPN or not connected to Bastion host within the VPC to launch a connection from.
Successful site to site VPN connection but unable to access extended resources
need to add on-premise routes to the Virtual Private Gateway route table