EC2 Flashcards

1
Q

What are the capabilities of EC2

A

Renting Vm’s (EC2)
Storing data on virtual drives (EBS)
Distributing Load(ELB)
Scaling services (ASG)

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

How is traffic allowed in/out of EC2 machines?

A

Security Groups

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

What acts as a firewall for EC2 instances?

A

Security Groups

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

What do Security Groups regulate?

A

Access to ports
Authroized IP ranges
Control of inbound/outbound network

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

Can Security Groups be attached to multiple instances?

A

Yes

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

Is a Security Groups locked down to a region/VPC combo?

A

Yes

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

Where does the Security Group live?

A

Outside the EC2 instance

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

How many Security Groups should maintain SSH Access?

A

One

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

If application isnt accessbible(timed out) what’s wrong?

A

Security Groups issue

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

If application gives a “connection refused” error, what’s wrong?

A

Application error or its not launched.

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

What are the inbound/outbound traffic defaults

A

Inbound is blocked/outbound is authorized.

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

What are the fundamentals of a public IP?

A

Machine can be identified on the internet
IP is unique
Can be geo-located

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

What are the fundamentals of a private IP?

A

Identified on private network only.

IP unique on private network.

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

How do machines connect to internet(WWW)?

A

internet Gateways(Proxies)

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

Can you use any range for private IPs?

A

No, only specific range is used.

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

What is an Elastic IP?

A

Fixed public IP.

17
Q

How many instances can an Elastic IP attach to?

A

One instance at a time.

18
Q

What happens when you stop, then start an instance?

A

The IP changes

19
Q

How many Elastic IP’s can you have?

A

5 (you can ask for more)

20
Q

What should you avoid using Elastic IPs?

A

Reflect poor architectural decisions

21
Q

What should you do instead of using Elastic IPs?

A

Use random public IP and register a DNS name to it.

Or, use a Load Balancer and dont use a public IP

22
Q

By default, your EC2 machine comes with what?

A
  • A private IP for the internal AWS Network

* A public IP, for the WWW.

23
Q

When we are doing SSH into our EC2 machines what can we do, what cant we?

A
  • We can’t use a pr ivate IP, because we are not in the same networ k
  • We can only use the public IP.