Lesson 02 AWS Overview
Lesson 02 AWS Overview
Source: https://docs.aws.amazon.com/
AWS Overview
Learning Objectives
Amazon Web Services (AWS) is a subsidiary of Amazon offering various cloud services such as
compute, storage, database, networking, application integration, and management that are
flexible, scalable, cost-efficient, and easy-to-use.
Introduction to AWS
Source: https://pages.awscloud.com/Gartner-Magic-Quadrant-for-Infrastructure-as-a-Service-Worldwide.html
Features of AWS
Security
Scalability
Highly secured physical
Flexible scalability to adjust the
infrastructure, software, and
capacity and maintain a steady
networking capabilities of AWS
and predictable performance
cloud services
1 2 3
Reliability
Services resilient to product
and infrastructure disruptions
Features of AWS
1
4 2
5 3
6
Flexibility
Reliability
Provide an option to select the
Services are resilient to both
operating system, programming
service and infrastructure
language, web application
disruptions
platform, and database
AWS Regions and Availability Zones
They are:
Source: https://aws.amazon.com/about-aws/global-infrastructure/regions_az/
Global Distribution
AWS is globally distributed over 24 geographic regions and has 77 Availability Zones.
Source: https://aws.amazon.com/about-aws/global-infrastructure/
Core AWS Services
Core AWS Services
Amazon offers various services that are broadly categorized in the following categories:
The Compute services from Amazon provide resizable compute capacity in the cloud,
which is intended to make web-scale computing easier for developers.
AWS Batch AWS Elastic AWS Fargate AWS Lambda AWS Serverless
Beanstalk Application
Repository
Storage Services
The Storage services from Amazon provide a secure, reliable, and scalable place for the data
in AWS Cloud with high efficiency, availability, durability, and performance.
Amazon offers the broadest set of purpose-built databases for various application
requirements. These database services are fully managed, scalable, and highly efficient.
Amazon Database
Database Services
Amazon provides a broad set of networking services that provide essential security
features by isolating resources, encrypting data, and connecting privately on the AWS
global network.
Amazon Networking
Networking Services
1 2 3
6 5 4
AWS Sign Up
7 8
10 9
Introduction to AWS Management Console
AWS Management Console home page provides access to each service console that offers tools
for working with services such as Amazon S3, EC2, and CloudFront.
Introduction to AWS Management Console
Resource Groups menu manages the AWS resources such as an EC2 instance or S3 bucket as a
group.
Introduction to AWS Management Console
Resource Groups menu can also be used to start Tag Editor, a tool for applying and
managing labels or tags to organize your resources.
Introduction to AWS CLI
AWS Command Line Interface (CLI) is an open-source tool that allows users to interact with
AWS services using commands in the command-line shell.
AWS
CLI
Introduction to AWS CLI
● AWS CLI version 2: It is the most recent major version of AWS CLI and supports all
the latest features. Some features introduced in version 2 are not backward
compatible with version 1.
● AWS CLI version 1: It is the original version of AWS CLI and is still supported by
AWS. It is available only for backward compatibility.
Introduction to AWS CLI
AWS CLI can be used from the command prompt in any terminal program:
● Linux shells: Shell programs such as bash, zsh, and tcsh can be used to run
commands in Linux or macOS.
AWS New configuration mechanisms: Import credentials from the .csv files,
CLI v2 generated in the AWS Console using the aws configure import command
aws-shell
AWS-Shell
● Execute common OS commands such as cat, ls, and cp and pipe inputs and outputs without
exiting the shell
You have been asked to set up the AWS Command Line Interface.
Assisted Practice: Guidelines
AWS provides SDKs for various programming languages like Java, Python, .Net, PHP, and many
others to access and manage AWS services. SDKs simplifies the complexity of a code and
abstract it in the form of language-specific APIs.
AWS
CLI
AWS provides Mobile SDKs to build high quality mobile applications easily and quickly that
integrate with popular AWS services. Following mobile SDKs are available in AWS:
Languages Supported by AWS SDK
AWS SDK for Java allows to use AWS services in a simplified manner by providing a set of libraries.
It provides support for API lifecycle consideration such as credential management, retries, data
marshaling, and serialization.
AWS SDK for Java
Nonblocking I/O
Automatic pagination
AWS Toolkit for IntelliJ AWS Toolkit for Visual AWS Toolkit for
Studio Code Eclipse
Boto is an AWS SDK for Python that allows easy integration of Python applications, libraries, or scripts
with AWS services including Amazon S3, EC2, DynamoDB, and others. It provides an easy to use,
object-oriented API, as well as low-level access to AWS services.
AWS SDK for Python
Resource APIs
Waiters
● Execute common OS commands such as cat, ls, and cp; and pipe inputs and outputs without
exiting the shell
Prerequisites:
• To use AWS SDK, you must have:
• A suitable Java Development Environment
• An AWS account and access keys
• AWS credentials
Steps to perform to set p the AWS SDK:
1. Download and extract the SDK (Not required if using Apache Maven, Gradle, Eclipse IDE)
2. Include the SDK in your project
Key Takeaways
Problem Statement:
You are asked to create an S3 bucket via management console and CLI and
access it via both access types
Tools required:
AWS S3, AWS CLI
Expected Deliverables:
Screenshots of S3 bucket list