3. [M] AWS Fundamentals

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

In AWS, what is the purpose of a Virtual Private Cloud (VPC)?

  • To provide a network zone where AWS public services operate.
  • To create isolated private networks within AWS. (correct)
  • To manage user permissions for all AWS services.
  • To directly connect on-premises networks to the public Internet.

How does accessing AWS public services from a location with a public internet connection work regarding network zones?

  • It uses the public internet to transit to and from the AWS public zone. (correct)
  • It utilizes AWS Direct Connect, avoiding the internet entirely.
  • It bypasses the public internet, communicating directly with the AWS private zone.
  • It strictly uses VPN for secure transit through AWS zones.

What is the AWS public zone's relationship to the public internet and AWS private zone?

  • It is synonymous with the public internet.
  • It sits between the public internet and the AWS private zone. (correct)
  • It is part of the AWS private zone.
  • It is independent of both the public internet and AWS private zone.

What does it mean for an AWS service to be regionally resilient?

<p>The service operates in a single region with data replicated across multiple Availability Zones. (B)</p> Signup and view all the answers

What is the key benefit of AWS Regions being geographically separated?

<p>To provide isolation, ensuring that a problem in one region doesn't affect other regions. (D)</p> Signup and view all the answers

In the context of AWS, what does an Availability Zone (AZ) provide?

<p>Isolated compute, storage, networking, power and facilities within a region. (A)</p> Signup and view all the answers

A company wants to ensure their application remains operational even if a disaster impacts an entire AWS region. Which type of service resilience is most appropriate?

<p>Globally Resilient Services (A)</p> Signup and view all the answers

Which of the following is a characteristic of services considered 'globally resilient' in AWS?

<p>They operate globally with data replicated across multiple regions and without a single point of failure. (C)</p> Signup and view all the answers

When referring to an AWS Region, what is the primary difference between using a 'region code' versus a 'region name'?

<p>Region codes are used programmatically (CLI/APIs) and region names in the AWS console. (D)</p> Signup and view all the answers

Which statement is correct regarding Virtual Private Clouds (VPCs) in AWS?

<p>VPCs are regional resources and operate within multiple Availability Zones. (C)</p> Signup and view all the answers

In AWS networking, what primarily differentiates a 'public service' from a 'private service'?

<p>How the service is accessed: public endpoints versus VPC-bound. (D)</p> Signup and view all the answers

Consider an EC2 instance running in a private subnet. What is required for this instance to directly access AWS public services like S3 without traversing the public internet?

<p>A NAT gateway or instance in a public subnet, and appropriate routing rules. (C)</p> Signup and view all the answers

What three distinct network 'zones' exist when considering AWS architecture from a networking perspective?

<p>Public Internet, AWS Public Zone, AWS Private Zone. (D)</p> Signup and view all the answers

In terms of geographical coverage, how do AWS Regions and AWS Edge Locations differ?

<p>Regions are larger and contain full deployments of AWS infrastructure, while Edge Locations are smaller and more numerous, offering primarily content distribution. (C)</p> Signup and view all the answers

A company wants to rapidly deploy content closer to its customers to reduce latency. Which AWS service is most suitable for this purpose?

<p>AWS Edge Locations. (D)</p> Signup and view all the answers

What benefit does the geographical separation of AWS Regions offer to solutions architects?

<p>Protection against global disasters and localized compliance. (B)</p> Signup and view all the answers

When is it essential for a solutions architect to consider the data residency implications of selecting a specific AWS Region?

<p>When the application is subject to specific legal or regulatory requirements regarding data location. (B)</p> Signup and view all the answers

What are the three 'main benefits' that AWS Regions provide to a solutions architect, as discussed in the text?

<p>Geographic separation, geopolitical separation, and location control. (B)</p> Signup and view all the answers

Which AWS service does NOT require region selection because it operates globally?

<p>Identity and Access Management (IAM). (A)</p> Signup and view all the answers

A company has infrastructure in the Sydney region and wants to ensure minimal impact if Sydney experiences a major failure. What strategy should they employ?

<p>Host a mirror infrastructure in Northern Virginia. (B)</p> Signup and view all the answers

AWS Regions are designed to be 100% isolated. What is the primary advantage of this design principle?

<p>A problem in one region won't affect other regions. (C)</p> Signup and view all the answers

If you place data in an EU Region in AWS, what commitment does AWS make regarding the location of that data?

<p>AWS ensures the data will always be stored in the specified EU region unless you configure it otherwise. (A)</p> Signup and view all the answers

Consider a scenario where a company wants to optimize the performance of their application for customers in a specific geographic location. What strategy should they employ?

<p>Select a region closest to their customers and optionally duplicate infrastructure in another region if demand increases. (D)</p> Signup and view all the answers

Which of the following statements accurately describes Availability Zones (AZs) within an AWS Region?

<p>AZs are connected by low-latency links and provide isolated infrastructure. (D)</p> Signup and view all the answers

If an Availability Zone (AZ) in a region experiences an isolated failure, what is the expected behavior of services running in other AZs within the same region?

<p>Only services in the affected AZ will be impacted, while services in other AZs should continue to operate normally. (D)</p> Signup and view all the answers

What is a globally resilient service?

<p>A service that operates globally with a single database and replicates data across multiple AWS regions. (C)</p> Signup and view all the answers

An application consists of EC2 instances, load balancers, and databases. All of these components have been created in your default VPC. What is true about the communications between these components?

<p>The components can communicate with each other and are able to connect to the public internet through the VPC's internet gateway. (D)</p> Signup and view all the answers

You are tasked with building a custom VPC in the us-east-1 region. How many default VPCs can you also create for the us-east-1 region?

<ol> <li>(C)</li> </ol> Signup and view all the answers

Custom VPCs are 100% private by default. What does this mean?

<p>They require explicit configuration for communication with the internet or other VPCs. (C)</p> Signup and view all the answers

What is true about custom and default VPCs?

<p>Both custom and default VPCs are regional resources that operate out of multiple availability zones. (A)</p> Signup and view all the answers

What is the default CIDR range of the default VPC?

<p>172.31.0.0/16 (B)</p> Signup and view all the answers

What's true about IP addresses and subnets in default AWS VPCs?

<p>Each subnet inside the VPC is located in one availability zone and is pre-configured to have one subnet in every availability zone in that region. (B)</p> Signup and view all the answers

Which scenario best utilizes EC2 IaaS (Infrastructure as a Service)?

<p>Running a custom-built application that requires specific operating system configurations and libraries. (D)</p> Signup and view all the answers

Where are EC2 instances launched?

<p>Into a VPC subnet. (C)</p> Signup and view all the answers

An EC2 instance is launched within a subnet, which is part of an Availability Zone(AZ). What happens to an EC2 if the AZ that the instance is launched into fails?

<p>The EC2 will likely fail. (D)</p> Signup and view all the answers

Identify key components of an EC2 instance.

<p>CPU, memory, disk and networking. (B)</p> Signup and view all the answers

Under what circumstances are you charged for a stopped EC2 instance?

<p>You are only charged for Elastic Block Storage (EBS) volumes attached to the instance. (C)</p> Signup and view all the answers

What is the purpose of an Amazon Machine Image (AMI)?

<p>To serve as a template to create an EC2 instance. (B)</p> Signup and view all the answers

What does an AMI contain?

<p>Permissions, block device mapping and the boot volume. (D)</p> Signup and view all the answers

Which protocol and port are used to connect to Windows EC2 instances?

<p>RDP on port 3389 (A)</p> Signup and view all the answers

Which of the following is true regarding access permissions for Amazon Machine Images (AMIs)?

<p>AMIs can be either public, private, or explicitly shared with specific AWS accounts. (D)</p> Signup and view all the answers

How does an EC2 instance authenticate to a Linux instance using an SSH key pair?

<p>By using the private and public key to authenticate and connect to the instance. (B)</p> Signup and view all the answers

A solutions architect needs to store a large number of media files, including videos and images, with infrequent access, for a long-term archive. Which AWS service is most appropriate for this use case?

<p>Simple Storage Service (S3) (A)</p> Signup and view all the answers

What makes S3 suitable as a default storage solution within AWS?

<p>Its flat structure and ability for multi-user storage with unlimited capacity and scalability. (B)</p> Signup and view all the answers

What is the maximum object size that can be stored in Amazon S3?

<p>5 TB (B)</p> Signup and view all the answers

What are 'buckets' in Amazon S3?

<p>Containers for objects. (A)</p> Signup and view all the answers

What is unique about the naming requirements for Amazon S3 buckets?

<p>Bucket names must be unique across all AWS accounts and regions. (C)</p> Signup and view all the answers

How does S3 organize objects?

<p>Objects are stored within the bucket at the root level with a flat structure. (C)</p> Signup and view all the answers

When referring to 'folders' within an S3 bucket, what does this typically represent?

<p>Prefixes within object names, used for organizational purposes in the S3 console. (D)</p> Signup and view all the answers

Where should you configure S3 permissions and set S3 objects?

<p>You should configure S3 permissions at the bucket level. (C)</p> Signup and view all the answers

In AWS networking, what is the function of the 'AWS public zone' in relation to the public internet and AWS private zone?

<p>It serves as an intermediary network that sits between the public internet and AWS private zone, facilitating access to public AWS services. (D)</p> Signup and view all the answers

If an EC2 instance in a private subnet needs to access an AWS public service like S3, but should not traverse the public internet, how can this be achieved?

<p>By routing traffic through a NAT Gateway within the VPC. (C)</p> Signup and view all the answers

When considering AWS architecture from a networking perspective, which of the following accurately describes the relationships between the network zones?

<p>The public internet connects to the AWS public zone, which then connects to the AWS private zone where VPCs run. (B)</p> Signup and view all the answers

What statement accurately describes how connecting AWS VPCs to on-premises networks is achieved?

<p>VPCs can be connected to on-premises through VPNs or Direct Connect. (D)</p> Signup and view all the answers

If data is placed into an EU Region within AWS, what is AWS's commitment regarding the geographic location of that data?

<p>AWS commits to keeping the data within the EU region, unless explicitly configured otherwise. (A)</p> Signup and view all the answers

What architectural component is introduced inside an AWS Region to provide isolated compute, storage, networking, power, and facilities?

<p>Availability Zone (C)</p> Signup and view all the answers

What is the primary difference between an AWS Region and an Availability Zone (AZ)?

<p>Regions are groupings of AZs, and AZs are physically isolated datacenters. (D)</p> Signup and view all the answers

An organization requires its application to withstand the failure of a single Availability Zone. Which design approach should they implement?

<p>Implement replication across multiple Availability Zones. (C)</p> Signup and view all the answers

What is the distinguishing feature of a service categorized as 'globally resilient' in AWS?

<p>It operates globally with data replicated across multiple regions. (D)</p> Signup and view all the answers

Which of the following is primarily provided by AWS Regions in regard to the operational governance of a system?

<p>Geopolitical separation. (B)</p> Signup and view all the answers

What is the term for prebuilt configurations that launch EC2 instances in AWS?

<p>AMIs (Amazon Machine Images) (D)</p> Signup and view all the answers

How do you connect to a Linux EC2 instance?

<p>SSH on port 22 (C)</p> Signup and view all the answers

What does it mean when an EC2 instance is 'AZ resilient'?

<p>The EC2 instance will likely fail if the Availabilty Zone it is located in fails. (A)</p> Signup and view all the answers

You need to control which AWS accounts are able to create EC2 instances from your AMI. Which AMI permission setting should you use?

<p>Explicit (A)</p> Signup and view all the answers

What are 'buckets' in Amazon S3 best described as?

<p>Containers for storing objects. (B)</p> Signup and view all the answers

What is a critical requirement for naming S3 buckets?

<p>Bucket names must be globally unique across all AWS accounts and regions. (B)</p> Signup and view all the answers

What is the maximum number of S3 buckets that can be created per AWS account, without contacting support?

<p>1000 (B)</p> Signup and view all the answers

What are the two main components an object consists of in S3?

<p>Key and Value. (C)</p> Signup and view all the answers

What are the steps CloudFormation takes when a template is used to create a stack?

<p>Scans the template, creates a stack with logical resources, and then creates physical resources which match. (C)</p> Signup and view all the answers

Where is it mandatory to specify at least one resource?

<p>The Resources of a CloudFormation template. (A)</p> Signup and view all the answers

Where are different things in a CloudFormation template presented to the console UI?

<p>In the Metadata. (D)</p> Signup and view all the answers

What component of the CloudFormation template are AWS able to extend over time to allow for standards over time, and is assumed if omitted?

<p>Template format version (A)</p> Signup and view all the answers

A CloudFormation template contains both a description and an AWS template format version. What is the correct order in which they must be declared?

<p>The descriptions needs to immediately follow the AWS template format version. (B)</p> Signup and view all the answers

What are 3 main products in one that CloudWatch offers?

<p>Metrics, logs and events (C)</p> Signup and view all the answers

What do you need to install to collect metrics outside of AWS, in other cloud environments, or within on-premises environments?

<p>CloudWatch agent (B)</p> Signup and view all the answers

What do CloudWatch Events allow you to generate?

<p>An event to do something at a certain time of day or certain days of week (C)</p> Signup and view all the answers

CloudWatch manages lots of different services. What concept allows it to keep different services separated?

<p>Namespace (C)</p> Signup and view all the answers

You are going to create an EC2 autoscaling group that scales off the CPU alarm. What part of CloudWatch can you apply to allow the scaling?

<p>CloudWatch Alarm (B)</p> Signup and view all the answers

A metric is a collection of related datapoints in what?

<p>Time ordered structure (B)</p> Signup and view all the answers

What is attached to datapoints that allow CloudWatch to separate them?

<p>Dimensions (C)</p> Signup and view all the answers

AWS is responsible for security 'of' the cloud, and who is response for the security 'in' the cloud?

<p>Customer / you. (B)</p> Signup and view all the answers

AWS is responsible for managing which components of the infrastructure stack?

<p>Facilities, Infrastructure, and Servers. (A)</p> Signup and view all the answers

You are responsible for components of the infrastructure stack?

<p>Local firewall configuration and client side data encryption (D)</p> Signup and view all the answers

Which of the following statements best describes the goal of High Availability (HA)?

<p>Maximizing a system's online time with the ability to automatically recover from issues. (C)</p> Signup and view all the answers

With regards to High Availability, what is the term used to describe system designed so that when it fails, its components can be replaced or fixed as quickly as possible?

<p>Automated. (C)</p> Signup and view all the answers

What is the key property that allows for continued operation in the event of failing components?

<p>Fault Tolerance. (C)</p> Signup and view all the answers

How is traffic routed with server failures?

<p>Routing. (C)</p> Signup and view all the answers

Is fault tolerance simply maximized uptime?

<p>No (B)</p> Signup and view all the answers

In comparison to Fault Tolerance, is HA or FT more expensive and more complex?

<p>Fault Tolerance (A)</p> Signup and view all the answers

What needs to be pre-planned in advance with disaster recovery? (Choose 2)

<p>Process Documentation (A), Backup Processes (C)</p> Signup and view all the answers

What is the definition of a DNS hosted zone?

<p>Zone files hosted on the server (B)</p> Signup and view all the answers

What determines what name to use for a DNS configuration?

<p>Registries like IANA (C)</p> Signup and view all the answers

A client, at at a Starbucks, looks up www.amazon.com. What record gets looked up first?

<p>The DNS root (B)</p> Signup and view all the answers

What does CNAME stand for?

<p>Canonical Name (A)</p> Signup and view all the answers

Your team wants to set up some record in a DNS to see if they can send email on your behalf. What configurations can you apply to accomplish this configuration?

<p>TXT (C)</p> Signup and view all the answers

What is importance to the TTL configuration?

<p>When things actually change (C)</p> Signup and view all the answers

When you hear the terms 'AWS private service' and 'AWS public service', what aspect are those terms referring to?

<p>Networking only. (D)</p> Signup and view all the answers

In AWS, which of the following is NOT considered one of the three distinct network 'zones'?

<p>The corporate data center. (D)</p> Signup and view all the answers

If an EC2 instance resides in a private subnet and needs to securely communicate with a public AWS service like S3, how does the communication occur?

<p>The traffic is routed through the AWS public zone, never touching the public internet. (C)</p> Signup and view all the answers

What happens if a solutions architect does not declare a specific AWS Template Format Version in a CloudFormation template?

<p>AWS CloudFormation assumes a defined version to allow for standards over time. (B)</p> Signup and view all the answers

What statement best describes the relationship between high availability (HA) and fault tolerance (FT)?

<p>FT includes HA by minimizing outages and adds continued operation during failures. (D)</p> Signup and view all the answers

You are designing a system that requires different actions depending on whether the stack is for production or testing. Which CloudFormation component would you use to achieve this?

<p>Conditions (B)</p> Signup and view all the answers

A client wants to stream the latest episode of a TV show with minimal latency. Which AWS infrastructure element would best serve this?

<p>AWS Edge Location (C)</p> Signup and view all the answers

As a solutions architect, what three primary benefits do AWS Regions offer?

<p>Geographic separation, geopolitical separation, and location control (C)</p> Signup and view all the answers

What is the primary functional difference between Availability Zones (AZs) within an AWS Region and AWS Regions themselves?

<p>AZs are isolated instances of compute, storage, networking, power and facilities inside a region, while Regions are larger, geographically separated areas. (D)</p> Signup and view all the answers

Your company has placed data in an AWS Region in Canada and requires assurances about the data's location. What commitment does AWS provide regarding this aspect?

<p>AWS guarantees the data will remain within Canada, unless explicitly configured otherwise. (D)</p> Signup and view all the answers

What statement best describes how connecting AWS VPCs to on-premises networks using Direct Connect differs to using the public internet?

<p>Direct Connect establishes a dedicated network connection to a VPC; public internet uses the internet as transit to the AWS Public Zone. (C)</p> Signup and view all the answers

An application requires the use of block storage for an EC2 instance. What AWS storage service is best suited?

<p>Elastic Block Store (EBS). (A)</p> Signup and view all the answers

What factors determine the cost of EC2 instances?

<p>Instance operating state, billing duration, selected software, instance sizes and capabilities, and storage usage (C)</p> Signup and view all the answers

An organization is designing an EC2 instance and needs to control what AWS accounts are able to launch new instances from it. What should they look to configure?

<p>AMI Permission (D)</p> Signup and view all the answers

What limitations apply to S3 buckets, as of this lesson?

<p>Unlimited storage, stored in multi-AZ, globally unique name, and has a 100 bucket soft limit per AWS account. (D)</p> Signup and view all the answers

An organization needs to configure S3 access and permissions. Where should this process generally occur?

<p>Inside the bucket itself, where most permission-related configurations are placed. (A)</p> Signup and view all the answers

What are the two main components of an object stored in Amazon S3?

<p>Object Key and Value (B)</p> Signup and view all the answers

What is the key takeaway from this lesson on CloudFormation?

<p>The only mandatory part of a CloudFormation template is resources. (C)</p> Signup and view all the answers

What describes what CloudWatch requires?

<p>Has direct integrations with AWS for out-of-the-box usage. (B)</p> Signup and view all the answers

A solutions architect is troubleshooting a system where an EC2 instance's CPU usage spikes unexpectedly. How can CloudWatch help to isolate the problem further?

<p>By defining separate name value pairs to separate things within the same metric. (C)</p> Signup and view all the answers

Flashcards

AWS Public Service

Accessible via public endpoints; accessed with an internet connection.

AWS Private Service

Runs within a VPC; accessible only within that VPC or connected networks.

AWS Networking Differences

Networking matters most when considering public versus private.

Internet Zone

The zone where Internet-based services operate.

Signup and view all the flashcards

AWS Private Zone (VPC)

Isolated, cannot communicate unless configured; services like EC2 can be placed here.

Signup and view all the flashcards

AWS Public Zone

Connects public Internet and AWS private zone; AWS public services operate here.

Signup and view all the flashcards

Accessing AWS Public Services

Communication uses the public Internet for transit to and from the AWS public zone.

Signup and view all the flashcards

AWS Global Infrastructure

A global cloud platform composed of smaller infrastructure groups connected by a high-speed network.

Signup and view all the flashcards

AWS Region

An area of the world selected by AWS containing a full infrastructure deployment.

Signup and view all the flashcards

AWS Edge Locations

Smaller than regions; used for content distribution and some edge computing.

Signup and view all the flashcards

AWS Service Specific Region

Interacting with a service in a specific region.

Signup and view all the flashcards

Globally Resilient Services

Services that operate globally. You don't select a region, and failures aren't impacted.

Signup and view all the flashcards

Region Resilient Services

Services operating in a single region with data per region.

Signup and view all the flashcards

AZ Resilient Services

Services that run from a single availability zone.

Signup and view all the flashcards

Virtual Private Cloud (VPC)

A virtual network inside AWS; create a VPC within an AWS account and region.

Signup and view all the flashcards

VPC Regional Services

Regional services that operate from availability zones in an AWS region.

Signup and view all the flashcards

VPC Private Service

Private and isolated by default; requires configuration for external communication.

Signup and view all the flashcards

Default VPC

One VPC can be setup per region created by default by AWS

Signup and view all the flashcards

Custom VPC's

A default VPC by is entirely private by default.

Signup and view all the flashcards

VPC communication

A Region can have multiple custom VPC's created within it.

Signup and view all the flashcards

Region

VPC's are regionally resilient.

Signup and view all the flashcards

VPC CIDR

Range of IP addresses that the VPC uses, outgoing connections originate.

Signup and view all the flashcards

Default VPC CIDR

172.31.0.0/16

Signup and view all the flashcards

VPC subnets

Subdivided into subnets, for resilience.

Signup and view all the flashcards

Default VPC configuration

1 subnet per Availability Zone, in each region.

Signup and view all the flashcards

Subnet CIDRs

Use part of the VPC's IP addresses; don't overlap with other subnets.

Signup and view all the flashcards

VPC resilience

Deployed to a region and broken down into subnets; each subnet is inside one AZ.

Signup and view all the flashcards

One default VPC

Per region and can be removed & recreated.

Signup and view all the flashcards

Default VPC Subnets

Allocated and assigned a public IP version four address in public zone.

Signup and view all the flashcards

EC2 (Elastic Compute Cloud)

Infrastructure as a Service. Unit of consumption is the instance.

Signup and view all the flashcards

EC2 Service

Runs in private AWS zone; configured to launch into a single VPC subnet;

Signup and view all the flashcards

On-Demand EC2 Billing

Resources are used while working; charged by the second or hour.

Signup and view all the flashcards

AWS Responsibility EC2

IaaS: AWS handles the virtualization, hardware, networking, storage, and facilities.

Signup and view all the flashcards

EC2 Instance state

Running, stopped, and terminated.

Signup and view all the flashcards

EC2 removal

Truly have no EC2 costs

Signup and view all the flashcards

Amazon Machine Image (AMI)

An image of an EC2 instance.

Signup and view all the flashcards

Important things AMI handles

It contains boot volume, block device mapping; can be public, private, or shared.

Signup and view all the flashcards

Connecting Windows Instances

Use RDP (port 3389).

Signup and view all the flashcards

Connecting Llinux Instances

Use SSH (port 22).

Signup and view all the flashcards

AWS Permissions

Identity other than account root has no guaranteed resource authorization.

Signup and view all the flashcards

Availability Zone

Isolated compute, storage, networking, power, and facilities within a region.

Signup and view all the flashcards

Operability after an Isolated Issue

Services from one availability zone are fully functional and available for usage.

Signup and view all the flashcards

Multiple Availability Zone Solutions

Design solutions distributing aspects across availability zones.

Signup and view all the flashcards

Private SSH Key usage

Gaining access to local administrator PWD of the instance.

Signup and view all the flashcards

CloudWatch

Collection of metrics, monitoring and actions based on metrics.

Signup and view all the flashcards

CloudWatch Logs

Collect, monitor, and perform actions based on data logging.

Signup and view all the flashcards

CloudWatch Events

After certain conditions, it generates certain events which in turn start other actions.

Signup and view all the flashcards

Shared Responsibility Model

AWS' way to determine which components you manage or they manage.

Signup and view all the flashcards

Fault Tolerance

Continue operation properly in event some components fail.

Signup and view all the flashcards

High Availability

Minimises outages, seeks high reliability and availability.

Signup and view all the flashcards

Disaster Recovery

A set of policies designed to allow the recovery of tech systems.

Signup and view all the flashcards

Delegated AWS responsibilities

AWS name servers are authoritative for the domain.

Signup and view all the flashcards

Zone File

A database with DNS information for a particular domain.

Signup and view all the flashcards

Name Servers

Servers where DNS info is stored.

Signup and view all the flashcards

Route 53

AWS' DNS as a Service that lets you manage zone files.

Signup and view all the flashcards

Public Hosted Zones

Data is available on Public internet

Signup and view all the flashcards

Private Hosted Zones

Linked and accessible within certain VPCS.

Signup and view all the flashcards

Public IP Address

Help to make an EC2 instance publicly available by attaching one.

Signup and view all the flashcards

Configure virtual/physical collections

Helps to connect on-premises to VPCs.

Signup and view all the flashcards

Internet Gateway

Allows private zone resources to connect to the public Internet.

Signup and view all the flashcards

Instance Sizes and Capabilities

Influences instance resources, extra capabilities and options.

Signup and view all the flashcards

EC2 Configuration

You can change some decisions both before and after instance launch.

Signup and view all the flashcards

VPC's are regional

Operate within multiple availability zones in an AWS Region.

Signup and view all the flashcards

AWS side of shared repsonsibility's

AWS handles everything below hypervisor, customer handles everything above

Signup and view all the flashcards

Customers responsibility's

Customer handles everything above hypervisor and how they interface.

Signup and view all the flashcards

Stable and Controlled Data

S3 has stable data due to governance by laws and rules of the region.

Signup and view all the flashcards

Blast Radius

Scope of major failures like natural disaster are contained within S3 region.

Signup and view all the flashcards

S3 Services

S3 bucket's can be accessed from anywhere that is allowed.

Signup and view all the flashcards

Objects stored in S3

Objects consisting of a key & data, which is the value, stored in S3

Signup and view all the flashcards

Regions Provide Location Control

Used to tune architecture, placing near customers, duplicating for demand.

Signup and view all the flashcards

Differentiation between CloudWatch and CloudWatch logs.

CloudWatch collects operational data, CloudWatch logs collects log data

Signup and view all the flashcards

CloudFormation

Tool that creates, updates and deletes resources in AWS.

Signup and view all the flashcards

CloudFormation Templates

Used to create AWS infrastructure using CloudFormation.

Signup and view all the flashcards

AWS Private Service (Region)

A component or service which exists within and is local to an AWS region.

Signup and view all the flashcards

Private Network Zone

The zone where a home network operates where access is managed via network connections or Wi-Fi passwords.

Signup and view all the flashcards

Benefits of region

Ensure systems withstand global disasters, geographically isolated for fault tolerance and governance.

Signup and view all the flashcards

Geographic Separation

It means something terrible will happen to one region but the others remains operative.

Signup and view all the flashcards

Geopolitical Separation

Select a region and be affected by the laws and regulations of that region where your infrastructure is stored.

Signup and view all the flashcards

Location Control

Tune your architecture's performance, duplicating infrastructure into another region if need arises.

Signup and view all the flashcards

Referring to a region

Region Code or Region Name

Signup and view all the flashcards

Sydney Region

Lower level architectural component available within AWS known as availability zone within a region known as Sydney region.

Signup and view all the flashcards

Instances

A collection of Virtual Machines known as EC2 Instances, it's the consumption to this.

Signup and view all the flashcards

EC2 instance

State of an EC2 indicates its condition. An instance can exist in one of a few states.

Signup and view all the flashcards

The running state

You can be charged for all 4 of those categories: running, stopped, terminated.

Signup and view all the flashcards

To terminate the instance

No EC2 costs for a set instance

Signup and view all the flashcards

Attached permissions

The AMI are controlled by accounting that can/cant use and AMI.

Signup and view all the flashcards

Based Regional Storage

It means data is Stored in a specific region while its at rest.

Signup and view all the flashcards

Prefixes in S3

Object names that structure as folders for Ul folder name.

Signup and view all the flashcards

A Namespace

A way to separate things in different areas inside the storage platform.

Signup and view all the flashcards

Datapoint

A point which consists of two things, a time stamp as well as a value.

Signup and view all the flashcards

How to separate the data.

CPU utilisation that contains metrics, how do you separate these data?

Signup and view all the flashcards

A Metric

A collection of related datapoints, all the metrics.

Signup and view all the flashcards

Also known as alarms

How can we take actions based on these metrics??

Signup and view all the flashcards

Shared Responsibility

Is how AWS provide clarity around systems security are theirs.

Signup and view all the flashcards

High available

Designed to be online, provide services where components are replaced or fixed quickly

Signup and view all the flashcards

Systems monitor communicate with two servers the same time.

Continue system to be operative, with failover so data wont be lost.

Signup and view all the flashcards

Fault Tolerance systems

Designed to operate through systems failure + for special situations.

Signup and view all the flashcards

Using Disaster Recovery - DR

Used when theses above won't work, and this is how to recover

Signup and view all the flashcards

All major domain registries

Companies managing all the Top Level Domains.

Signup and view all the flashcards

DNS as delegation

It's just a system of delegation between entities and how the internets are being delegated

Signup and view all the flashcards

To create a zone

Create file/record for registering + managing a DNS. A database containing DNS

Signup and view all the flashcards

Hosted zones

DNS as Service, this means allows creating + managing zone files

Signup and view all the flashcards

Study Notes

AWS Public vs Private Services

  • AWS private services are accessible by instances or entities within a VPC or connected to that VPC.
  • AWS public services can be accessed using public endpoints
  • S3 is an example of a public service that can be accessed from anywhere with an internet connection.
  • Even though S3 is a public service identities other than the account root user has no authorization to access that resource by default
  • Permissions and networking are considerations when talking about service access and the networking is what matters.
  • The Internet is the zone from which Internet-based services like online stores and Gmail operate.
  • A home network is an example of a private network where access is limited to devices directly connected or those with the Wi-Fi password.
  • There are actually three different network zones: the public Internet, the AWS public zone, and the AWS private zone (VPC).
  • The AWS public zone is a network connected to the public Internet, but not part of it, and it sits between the public Internet and AWS private zone networks.
  • If EC2 has an allocated public IP address, private zone resources can access the public Internet.
  • Access to public AWS services such as S3 via an IGW still communicates through the AWS public zone.
  • Communication to and from an AWS public service uses the public internet as transit before reaching the AWS public zone.
  • EC2 instances can project into the public zone to become publicly accessible from the internet.
  • Private networks can be connected together if allowed.

AWS Global Infrastructure

  • AWS is a global cloud platform comprised of smaller infrastructure groupings connected by a high-speed network.
  • This design allows for the creation of systems that are resilient to failure and highly available.
  • AWS infrastructure concepts include AWS regions, edge locations, and Availability Zones.
  • Resilience is categorized into globally resilient, regionally resilient, and zone resilient services.
  • AWS regions and edge locations are the deployments used.
  • A region does not directly correspond to a continent or country but is an area selected by AWS with full infrastructure deployment.
  • AWS adds regions over time, and countries may have multiple regions based on customer requirements and size.
  • Regions are geographically spread out to allow for design of systems capable of withstanding global-level disasters.
  • Interacting with most AWS services means interacting with a specific region.
  • Elastic Compute Cloud in Northern Virginia is separate from that in Sydney, for example.
  • AWS provides edge locations which are smaller than regions.
  • Edge locations have content distribution services, and some edge computing, located in more places than regions.
  • Edge locations are useful for companies like Netflix, to store content closer to the customers.
  • Edge locations allow for fast, efficient data transfer due to lower latency.
  • Regions and edge locations are commonly used by solutions architects running infrastructure from multiple regions but using edge locations for content delivery at faster speeds.
  • The AWS network can be visualized, showing fewer regions vs edge locations and how regions are connected via high speed networking links.
  • AWS networking can be used for efficient system deployment.

AWS Regions

  • Regions are presented in the AWS console, and EC2 requires region selection
  • Some services are global, like IAM and Route 53, and don't require region selection
  • Each region is geographically separated, providing fault isolation and preventing issues in one region from affecting others.
  • It enables the ability to place infrastructure into a region knowing it will not be affected by faults in another.
  • Regions are designed to be 100% isolated, enhancing fault tolerance.
  • Selection of a region offers geopolitical or governance separation, impacting the laws and regulations affecting infrastructure storage.
  • AWS commits to keeping data within a chosen region if not configured otherwise.
  • Regions allow for location control and the ability to place infrastructure close to customers for performance
  • Netflix uses infrastructure around the globe close to customers
  • When referring to a region, either the region code or region name is used. The Sydney region has a region code of ap-southeast-2 and a region name of Asia Pacific (Sydney).

Regions and Availability Zones

  • AWS defines a region as having the region code (ap-southeast-2) and the region name (Asia Pacific (Sydney)).
  • A region provides resilience through infrastructure mirrored in other regions.
  • Need exists for more granularity and this is available through availability zones.
  • AWS provides multiple availability zones inside a region, with 3 in Sydney (ap-southeast-2a, 2b, 2c).
  • Availability zones give isolated compute, storage, networking, power, and facilities inside a region.
  • If a region experiences an isolated issue that only affects one zone, the other zones will continue to be fully functional.
  • Solutions can be designed to distribute components across multiple Availability Zones for resilience.
  • An Availability Zone is a logical construct within AWS and may consist of one or more data centers.
  • AWS only guarantees zone isolation and connectivity.
  • Services can be placed across multiple Availability Zones for fault tolerance using virtual private cloud.

Service Resilience

  • How a service is defined by its level of resilience.
  • Globally resilience occurs when a service operates with a single database replicated accross multiple regions, such as IAM and Route 53
  • Region resilience occurs when services operates in a single region with separate sets of data, like an RDS database in Sydney versus one in Northern Virginia.
  • Data is typically replicated to multiple availability zones and the service will continue to operate in if an AZ fails.
  • If the whole region fails, so will this service.
  • AZ resilient services run from a single availability zone.
  • Failure of this AZ will cause failure of the service.
  • These services include those that need resilient storage systems.

AWS Default Virtual Private Cloud (VPC)

  • VPCs are virtual private networks within AWS, allowing creation of private networks for services to run.
  • VPCs enable connections between AWS private networks and on-premises networks in hybrid environments.
  • Private AWS networks can be connected to on-premise networks creating a hybrid environment.
  • VPCs can connect to other cloud platforms for multi-cloud deployments.
  • A VPC is a service which is within an AWS account and AWS region.
  • VPCs are regional services, providing regional resilience and operating from multiple availability zones in a region.
  • A VPC is private and isolated by default.
  • Services in the same VPC can communicate, but the VPC is isolated from other VPCs, the public AWS zone, and the public Internet, but this can be changed through configuration.
  • There are two types of VPCs: default VPC and custom VPC.
  • Maximum of one default VPC per region.
  • Can have several custom VPCs in a region.
  • Custom VPCs are custom, to be configured as needed, following VPC rules/limits.
  • Custom VPCs are 100% private by default and used in most AWS deployments.
  • They can be configured to the sizes and structures, linked with other VPCs, and communicate with other cloud platforms or on-premises networks.
  • One default VPC is automatically created by AWS in every region.
  • Default VPCs come pre-configured via AWS and are less flexible than custom VPCs.
  • VPC allows you to build an isolated private network and unless configured, there is no traffic out the the VPC border with the exception of allowing it.

VPC characteristics

  • Every VPC has a range of IP addresses, which are called the VPC CIDR, which is a common range of IP addresses the VPC can use
  • The CIDR is just the IP address range of the VPC
  • DefaultVPC only gets 1 CIDR, which is 172.31.0.0/16
  • This is a strength, that it's predictable
  • A region has multiple availability zones, such as us-east-2a, 2b, 2c, each an independent infra pool
  • To provide resilience, a VPC can be sub-divided into subnets, which is short for the network
  • The a,b,c at the end defines the sub-network is located in one AZ.
  • Each subnet will use part of the VPC"s range of IP addresses/CIDR Range
  • THese ranges cannot be the same and can't overlap
  • This is how a VPC is resilient, by each subnet will be in one AZ and if it fails, part of the VPC fails
  • If the AZ that an instance is launched into fails, then the instance itself will likely fail

Default VPC Facts

  • One per region and can be removed and recreated
  • The VPC ranges is always 172.31.0.0/16
  • Inside that range there are many /20 subnet to AZ
  • Internet Gateway and Security Groups assign
  • They come precongifured so they have v4 addressing

Elastic Compute Cloud (EC2) Basics

  • EC2 is IAAS and provides virtual machines (instances)
  • Unit of Consumption is the instance, just a OS with alocated resources
  • Is a private service, so it means it runs in the private zone by default
  • runs in a sinlge VPC subnet but needs VPC support
  • Choose sizes and capabilities for the instance to determine resources,GPU and extra processes etc
  • You menage the OS because it's IAAS and manage virtualization
  • Billing per second/hour depending on what it's launched with
  • Only pay for uptime
  • In stopped state there are no CPU resources being consumed
  • You'll still see bill with EBS

How to reduce instance costs

  • The only way to truly have no ec2 costs for an instance is to terminate that EC2 instance.
  • AMI is an image of an EC2 instance, AWS supplies with a image for every window/linus.
  • An image is similar to server image but contains a USB device.

Access permissions for EC2

  • AMI Permission
  • Explicit permission
  • Root volume for boot/ and contains block device mapping
  • Connecting to ec2 instances
  • Using RDP via port 3389 for windows
  • Using SSH to port 22 for linus

Simple Storage Service (S3) Basics

  • A global storage platform that is regional based and resilient
  • A public service that can handle unlimited data and multi user based
  • Ideal to store movies/photos and data sets
  • Economical and accessed via UI/CLI/API/HTTP
  • Uses objects and buckets
  • In a specific AWS region when it's unused, it will never leave unless you configure it.
  • It can tolerate failure of AZ
  • Select region when you create a thing insude s3
  • It can cope with multilated data ammounts/ multi user usage, millions of cat pictures
  • The great thing is it sales at a massive scales
  • 3 the default storage service in AWS.
  • 2 main service it delivers like objects/buckets
  • your cat picture is an object .g the migration og koala
  • buckets are containers for objects
  • Component of object there is value and value is the data or contents.
  • Value of an object is an empty obkect or 5tbs
  • Objects have a few components called version 1D, medatar,access control and the sub-reosources
  • S3 buckets are created in a specific AWS REGIOUN with the use of sydney or ap-southeast-2 as example.

Characteristics of Buckets

  • Data inside a bucket has a promary home region and if never leaves
  • Bucket name must be global Unique
  • They must be uinque all regions / accounts.

S3 buckets summary

  • S3 bucket can hold UNLIMITED number of objects
  • S3 bucket is flat
  • Store a root level even when you create /old.data s
  • They prefix it with the object names
  • There's limit in terms of number of buckes to have with 100 as a hard / 100 asoft as a max limit on buckets
  • S3 is an object store
  • Good for ofload
  • AWS service output

CloudFormation (CFN) Basics

  • CloudFormation is a tool to create, update and delete infrastructure in AWS using templates.
  • Templates are written in either YAML or JSON.
  • All templates include a list of resources which CloudFormation uses to create, update, or remove physical resources.
  • Description is a free text field for the template author to add details about the template and resources, and changes
  • The AWS template format version isn't mandatory, but if description is also used as a parameter, description needs to directly follow the template format version
  • The template format version is the avenue AWS uses for extending the template standards over time, and it is assumed if omitted.

Building templates and conditions

  • Templates are added , and meta data is like a Ul but for those information
  • Parameters and set of you can you add in fields.
  • Templates can use mappings to lookup the data.
  • There is a multi set of to set, such as to create a prod set
  • Ouputs are used a set set set a set of outputs which are template and its is of

Logical and template resources and stacks

  • Templates contains resource and the other stuff used with cloud
  • Templates contains resource and the other stuff used with CloudFormation
  • The resource section with a list resource where the in EC2, and used logical to exactly to create Aws.
  • You take templates and intially give it to to cloud, will need to that be and that created

CloudWatch (CW) Basics

  • CloudWatch collects data on behalf of you
  • This includes operational or logging.
  • CloudWatchs that are are or AWS.
  • A AWS, or on other cloud you can take most to where that it will be

Agent gathering

  • Is to AWS , log
  • Cloud, actions

Namespace and dimesnions for cloudwatch

  • Log action
  • And state
  • To

Shared Responsibility Model

  • AWS helps with security for a piece of the cloud and the customer helps the security to the cloud.
  • Location helps keep with those
  • You
  • To a point

HA / FT /DR

  • HA - to minimise the number of outage
  • FT - To operate though failure
  • DR - when to use with those don't work
  • HA is about fast and automatic recovery, it's not about perventing user disruption

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

More Like This

AWS VPC Configuration Quiz
12 questions

AWS VPC Configuration Quiz

DependableMilwaukee avatar
DependableMilwaukee
VPC Fundamentals for AWS Cloud Practitioner
10 questions
AWS Cloud Networking: VPC and Subnets
5 questions
Use Quizgecko on...
Browser
Browser