AWWSS Flashcards
This is ultimately about transporting data to and from your AWS resources. How you achieve this depends on many factors including
Networking
-type of data, the speed of data, transport, your security requirements, who or what will be accessing that data and how they’ll be accessing it.
AWS’s Core Networking Services
- Virtual Private Cloud
- Route 53
- CloudFront
Provides the network backbone for many AWS services. A private virtual cloud is a virtual network in the cloud that’s logically isolated from other networks.
Amazon Virtual Private Cloud (VPC) service
The most well-known use of VPCs
Connecting EC2 instances together and to other AWS services and networks, including the internet.
Each VPC requires this to define the range of IP version 4 (IPv4) addresses that resources within the VPC can use.
Classless Inter-Domain Routing (CIDR) block
Must choose a size between /16 and /28. The smaller the CIDR size, the greater the number of IP addresses available to the VPC.
The IPv6 CIDR will be a global unicast IPv6 address with a size of /56.
Provides logical separation and isolation of resources within the same VPC. Like a VPC, you must define a CIDR for each subnet.
Subnet
- Each subnet exists only within a single Availability Zone.
- Each EC2 instance exists within a subnet.
A VPC resource that allows EC2 instances to obtain a public IP address and access the internet.
Internet Gateway
A subnet with a default route to an internet gateway
Public Subnet
- Each instance must also have a public IP Address.
- Elastic IP Address can be reassigned to different instances.
A firewall that determines what network traffic can pass into and out of an instance. Consists of inbound and outbound rules.
Security Group
- Inbound Rules: Control what IP address can send traffic to an instance. By default, security groups do not contain inbound rules.
- Outbound Rules: Control what IP address an instance may send traffic to.
A firewall that operates at the subnet level. Consists of inbound and outbound rules that by default allow all traffic. It cannot restrict traffic between instances in the same subnet, BUT it can prevent traffic from entering or leaving a subnet. Each VPC has a default NACL that can be associated with one or more subnets.
A network access control list (NACL)
A private point-to-point connection between only two VPCs. Allows resources in different VPCs to communicate with each other over the private AWS network instead of internet.
VPC peering connection
Allows you to connect a VPC to an external network, such as a data center via a secure connection that transverses the public internet.
Virtual Private Network (VPN)
-To set up a VPN connection, you create a virtual private gateway and attach it to a VPC. You then configure your customer gateway- a physical or virtual router or firewall on your network - to connect to the virtual private gateway. IP routing can be configured statically or you can use the Border Gateway Protocol (BGP)
Provides private network connectivity to your VPC and public services such as Amazon S3 and Glacier
Direct Connect
- This does not provide internet access. These links are offered through APN partners. If you need fast, consistent connectivity to AWS, this is a good option versus connecting via the internet, but more expensive.
- You need less than 1 Gbps of bandwidth, you can obtain a hosted Direct Connect connection from a APN partner.
is Amazon’s global Domain Name System (DNS) service. The primary purpose is to translate human-readable domain names into IP addresses.
Route 53
The process of translating a domain name to an IP address is called
Name Resolution
DNS can store mappings for different types of data including
IPv6 addresses, mail servers and even arbitrary text.
A resource record consists of several fields
name, type and value
To ensure that no two entities try to use the same domain name, anyone who wants to have a public domain name, must register with this_____. When you register a domain name, you must do so under a top-level domain (TLD) such as .com, .net.
Domain Registrar
-Route 53 is a domain registrar for hundreds of TLDS. Route 53 is both a registrar and a DNS hosting provider.
To have Route 53 host the DNS for a public domain name, you need to create this
a public hosted zone and specify the domain name.
Provide DNS resolution for a single domain name within multiple VPCs. This is useful for assigning user-friendly domain names to VPC resources such as EC2 instances or application load balancers. Because private domain names aren’t accessible from the internet, there are no registrars, so you can pick any domain name you want.
Route 53 Private Hosted Zones
Routing Polices for Resource Records: are used to make routing decisions based on policies set by the network administrator. When you want the value of a resource record to change dynamically to work around failures or ensure users get pointed to the least busy server.
- Simple Routing Policy - default
- Weighted Routing Policy
- Latency Routing Policy
- Failover Routing Policy
- Geolocation Routing Policy
- Multivalue Answer Routing Policy
Default. It lets you map a domain name to a single static value, such as an IP address. It doesn’t check whether the resource the record points to is available.
Simple Routing Policy
Distributes traffic across multiple resources according to a ratio.
Weighted Routing Policy