Troubleshooting Flashcards

1
Q

EC2 Troubleshooting – Connectivity issues to an EC2 instance

A

Correct ports on the security group are may not be open.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Cannot attach an EBS volume to an EC2 instance

A

EBS volumes must live in the same AZ as EC2 instance.

create a snapshot from volume and launch volume in the correct AZ.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Cannot launch additional instances

A

probably reached the EC2 limit and need to contact AWS to increase limit.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Unable to download package updates

A

EC2 may not have a public/EIP address, or desnot belong to a public subnet

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Applications seeming to slow down on T2 micro instances

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

AMI upavailable in other regions

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Capacity error when attempting to launch an instance in a placement group

A

start and stop all the instances in the placement group(AWS tries to locate them as close as possible).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

New EC2 instances are not automatically being assigned a public IP address

A

auto-assign public IP setting on the subnet is checked.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

NAT gateway is configured but instances inside a private subnet still cannot download packages

A

Need to add 0.0.0.0/0 route to the NAT gateway on the route table for private subnets.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Traffic is not making it to the instances even though security group rules are correct

A

check the NACL to ensure the proper ports from the proper sources are open(also check your IGW and route table settings).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Error when attempting to attach multiple internet gateways to a VPC

A

Only one internet gateway can be attached to a VPC at any given time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

error when attempting to attach multiple Virtual Private gateways to a VPC

A

only one virtual private gateway can be attached to a VPC at any given time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

VPC Security group for EC2 instnace does not have enough rules for the required application

A

Assign the EC2 instance to multiple Security groups.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Cannot SSH/communicate with resources inside of a private subnet.

A

not set up a VPN or not connected to Bastion host within the VPC to launch a connection from.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Successful site to site VPN connection but unable to access extended resources

A

need to add on-premise routes to the Virtual Private Gateway route table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Failure to create a VPC peering connection between two VPC’s in different regions

A

Previously peering connection has to between 2 VPC’s in the same region. But VPC can now be connected across regions.

17
Q

Load balancing is not occurring between instances in multiple availability zones

A

Make sure “Enable Cross-Zone load balancing” has been selected.

18
Q

Instances are healthy but are not registering as healthy with the ELB

A

Check configuration for the “health check” to make sure you have selected the proper ping protocol, ping port, and pig path.

19
Q

ELB is configured to listen on port 80, but traffic is not making it to the instances that belong to the ELB

A

may have mistaken the “Listener” for the security group. Listeners are not the same as the security group rules, port 80 still needs to be open on the security group that the ELB is using.

20
Q

Access logs on web servers show IP address of the E<b></b>

A

Enable Access Logs to Amazon s3.

21
Q

Unable to add instances from a specific subnet to the ELB

A

MOST LIKELY THE SUBNET THAT THE INSTANCE lives in has not been added to the ELBs configuration.

22
Q

Auto Scaled instance continues to start and stop in short intervals

A

scale-up and scale-down thresholds may be too close to each other. Either raise the scale-up or lower the scale-down thresholds.

23
Q

Auto scaling does not occur even though scaling policies are configured correctly

A

The “max” number of instances set in the auto scaling group may have been reached.

24
Q

If you are unable to download software packages to an EC2 instance, that means you have definitely provisioned it in a private subnet.

A

There can be many reasons why you cannot download software packages besides the instance being provisioned in a private subnet. For example, creating an instance without a public IP address or not having the proper ports open on the security group can cause issues downloading software.