My AWS Journey
My AWS JourneyAWS Fundamentals
(5 months ago)
AWS Fundamentals
AWS Public vs Private Services
Public vs Private Services

Now, let's dive into the main topic: public and private AWS services. Imagine AWS as a giant, secure building with lots of different rooms. Some rooms are open to everyone (public), while others are private, locked only for certain people.

Public Services

Public services in AWS are like public parks. Anyone can visit them. In technical terms, these are services that are available on the internet for anyone to access. Think of a website that anyone can visit - it's public.

Key Points:

  • Accessible by Anyone: Just like a public park, these services are open to everyone on the internet.
  • Examples: Websites or apps that you use every day and don't require a special login are likely running on public AWS services.

Private Services

On the other hand, private services are like your home. Only you and people you trust (like family and friends) can come in. In AWS, private services are secured and only accessible to specific users or networks. They are not available to the general public.

Key Points:

  • Restricted Access: Like your home, these services are locked and only accessible to certain people or networks.
  • Examples: Company databases or internal applications that employees use are examples of private AWS services.
Why the Difference Matters

So, why is it important to know the difference? Well, it's all about security and purpose.

  • Security: Private services offer more security. It’s like having a security system for your home. You decide who gets in.
  • Purpose: Public services are meant to be accessed by everyone. They’re like billboards, letting the world know about your service or product.

To wrap up, AWS offers both public and private services. Public services are like open parks, accessible to everyone. Private services, however, are more like your home, where entry is restricted to specific people or networks. Understanding this difference is crucial for using AWS effectively, especially when it comes to security and the intended audience for your services.

What is AWS Global Infrastructure?

Think of AWS Global Infrastructure like a big, worldwide network of computer stations. AWS has set up these stations in different parts of the world to make sure their services are fast and reliable.

The Main ComponentsRegions

These are like separate areas or big plots of land where AWS sets up its equipment. Each region is a separate area in the world, like North America, Europe, or Asia. Each one works independently.

Edge Locations

Imagine these as small outposts or mini-stations spread around the world. They are there to make sure things run quickly and smoothly. It's like having a little helper close to you so you don’t have to travel far.

Availability Zones

Each region has special zones called Availability Zones. Think of them as different power generators in the same area. If one has a problem, the others are still working fine.

What Does 'Resilient' Mean?

Now, let's talk about a fancy word: 'resilient'. Being resilient in AWS means being strong and stable, no matter what happens. There are three types of resilience:

Globally Resilient

This is like having backup plans for your backup plans all around the world. If one region has a problem, another region far away can take over.

Regional Resilient

This means within one region, there are multiple backup plans. It’s like having several spare tyres for your car, just in case one goes flat.

AZ Resilient

Availability Zone resilience is like having a team of helpers in one region. If one helper gets tired, the others are ready to take over.

Why Is This Important

Understanding AWS Global Infrastructure is like knowing the best way to set up a big party with many guests. You need to make sure there's enough food (resources) and space (servers) for everyone, no matter where they are. It also means if something goes wrong in one place, the party doesn't stop – it just moves to another spot.


In simple terms, AWS Global Infrastructure is about making sure everything runs smoothly, quickly, and without interruption, no matter where you are in the world. It's like a big, well-organised network ensuring that AWS services are always available and reliable.

Amazon EC2

Image not found.

Amazon EC2 (Elastic Compute Cloud) is a core part of Amazon's cloud computing platform, AWS. It provides scalable computing capacity in the AWS cloud, allowing users to run and manage server instances for various types of applications. EC2 offers a wide range of instance types with different combinations of CPU, memory, storage, and networking capacity, giving you the flexibility to choose the appropriate mix of resources for your applications.

Here are the key aspects of EC2 based on your guidelines:

IAAS - Provides Virtual Machines (Instances): EC2 is an Infrastructure as a Service (IAAS) that offers virtual servers, known as instances. These instances can be tailored to fit various needs and are a fundamental building block for cloud computing.

Private Service by Default - Uses VPC Networking: EC2 instances operate within Amazon's Virtual Private Cloud (VPC), which offers an isolated, private environment within the AWS cloud. This setup enhances security and allows for custom network configurations.

AZ Resilient - Instance Fails if AZ Fails: EC2 instances are deployed within Availability Zones (AZs) to provide high availability and reliability. However, if an AZ faces issues, the instances within that zone may be affected, emphasizing the importance of architecting for failover and redundancy.

Different Instance Sizes and Capabilities: EC2 provides a wide variety of instance types optimized for different use cases, such as compute-optimized, memory-optimized, and storage-optimized instances. This variety ensures that you can select the best instance type for your specific application requirements.

On-Demand Billing - Per Second: EC2 offers flexible pricing options including on-demand pricing, where you pay per second for the compute capacity used. This pricing model provides cost-effectiveness and helps optimize cloud spending based on actual usage.

Amazon Machine Image (AMI): The AMI is essential in EC2 as it contains the information required to boot your instances. It determines the operating system, the server's configuration, and the software to be loaded. AMIs allow for quick and consistent deployment of instances, ensuring that each instance you launch is correctly configured from the start.

In summary, EC2 is a versatile and powerful component of AWS, offering customizable virtual computing environments, robust networking capabilities, and flexible pricing. The choice of different instance types and the utilization of AMIs make it a preferred solution for hosting applications in the cloud.