O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

AWS Administration - The Definitive Guide - Second Edition

Book Description

Leverage this step-by-step guide to build a highly secure, fault-tolerant, and scalable Cloud environment

About This Book

  • Learn how to leverage various Amazon Web Services (AWS) components and services to build a secure, reliable, and robust environment to host your applications on.
  • Delve into core AWS service offerings with hands-on tutorials, real-world use case scenarios, and best practices.
  • A self-paced, systematic, and step-by-step guide to learning and implementing AWS in your own environment.

Who This Book Is For

This book is for those who want to learn and leverage the rich plethora of services provided by AWS. Although no prior experience with AWS is required, it is recommended that you have some hands-on experience of Linux, Web Services, and basic networking.

What You Will Learn

  • Take an in-depth look at what's new with AWS, along with how to effectively manage and automate your EC2 infrastructure with AWS Systems Manager
  • Deploy and scale your applications with ease using AWS Elastic Beanstalk and Amazon Elastic File System
  • Secure and govern your environments using AWS CloudTrail, AWS Config, and AWS Shield
  • Learn the DevOps way using a combination of AWS CodeCommit, AWS CodeDeploy, and AWS CodePipeline
  • Run big data analytics and workloads using Amazon EMR and Amazon Redshift
  • Learn to back up and safeguard your data using AWS Data Pipeline
  • Get started with the Internet of Things using AWS IoT and AWS Greengrass

In Detail

Many businesses are moving from traditional data centers to AWS because of its reliability, vast service offerings, lower costs, and high rate of innovation. AWS can be used to accomplish a variety of both simple and tedious tasks. Whether you are a seasoned system admin or a rookie, this book will help you to learn all the skills you need to work with the AWS cloud.

This book guides you through some of the most popular AWS services, such as EC2, Elastic Beanstalk, EFS, CloudTrail, Redshift, EMR, Data Pipeline, and IoT using a simple, real-world, application-hosting example. This book will also enhance your application delivery skills with the latest AWS services, such as CodeCommit, CodeDeploy, and CodePipeline, to provide continuous delivery and deployment, while also securing and monitoring your environment's workflow. Each chapter is designed to provide you with maximal information about each AWS service, coupled with easy to follow, hands-on steps, best practices, tips, and recommendations.

By the end of the book, you will be able to create a highly secure, fault-tolerant, and scalable environment for your applications to run on.

Style and approach

This in-depth and insightful guide is filled with easy-to-follow examples, real-world use cases, best practices, and recommendations that will help you design and leverage some of the most commonly used AWS services.

Downloading the example code for this book You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

Table of Contents

  1. Title Page
  2. Copyright and Credits
    1. AWS Administration – The Definitive Guide Second Edition
  3. Packt Upsell
    1. Why subscribe?
    2. PacktPub.com
  4. Contributors
    1. About the author
    2. About the reviewer
    3. Packt is searching for authors like you
  5. Preface
    1. Who this book is for
    2. What this book covers
    3. To get the most out of this book
      1. Download the example code files
      2. Conventions used
    4. Get in touch
      1. Reviews
  6. What's New in AWS?
    1. Improvements in existing services
      1. Elastic Compute Cloud
      2. Availability of FPGAs and GPUs
      3. Simple Storage Service
      4. Virtual Private Cloud
      5. CloudWatch
      6. Elastic Load Balancer
    2. Introduction of newer services
    3. Plan of attack!
    4. Summary
  7. Managing EC2 with Systems Manager
    1. Introducing EC2 Systems Manager
    2. Getting started with the SSM agent
      1. Configuring IAM Roles and policies for SSM
      2. Installing the SSM agent
      3. Configuring the SSM agent to stream logs to CloudWatch
    3. Introducing Run Command
    4. Working with State Manager
    5. Simplifying instance maintenance using System Manager Automation
      1. Working with automation documents
      2. Patching instances using automation
      3. Triggering automation using CloudWatch schedules and events
    6. Managing instance patches using patch baseline and compliance
    7. Getting started with Inventory Management
    8. Planning your next steps
    9. Summary
  8. Introducing Elastic Beanstalk and Elastic File System
    1. Introducing Amazon Elastic Beanstalk
      1. Concepts and terminologies
    2. Getting started with Elastic Beanstalk
      1. Creating the Dev environment
      2. Working with the Elastic Beanstalk CLI
      3. Understanding the environment dashboard
      4. Cloning environments
      5. Configuring the production environment
    3. Introducing Amazon Elastic File System
      1. How does it work?
      2. Creating an Elastic File System
      3. Extending EFS to Elastic Beanstalk
    4. Planning your next steps
    5. Summary
  9. Securing Workloads Using AWS WAF
    1. Introducing AWS Web Application Firewall
      1. Concepts and terminologies
    2. Getting started with WAF
      1. Creating the web ACL
      2. Creating the conditions
      3. Creating rules
      4. Assigning a WAF Web ACL to CloudFront distributions
      5. Working with SQL injection and cross-site scripting conditions
      6. Automating WAF Web ACL deployments using CloudFormation
      7. Monitoring WAF using CloudWatch
    3. Planning your next steps
      1. Introduction to AWS Shield
    4. Summary
  10. Governing Your Environments Using AWS CloudTrail and AWS Config
    1. Introducing AWS CloudTrail
    2. Working with AWS CloudTrail
      1. Creating your first CloudTrail Trail
      2. Viewing and filtering captured CloudTrail Logs and Events
      3. Modifying a CloudTrail Trail using the AWS CLI
      4. Monitoring CloudTrail Logs using CloudWatch
      5. Creating custom metric filters and alarms for monitoring CloudTrail Logs
      6. Automating deployment of CloudWatch alarms for AWS CloudTrail
      7. Analyzing CloudTrail Logs using Amazon Elasticsearch
    3. Introducing AWS Config
      1. Concepts and terminologies
      2. Getting started with AWS Config
      3. Creating custom config rules
    4. Tips and best practices
    5. Summary
  11. Access Control Using AWS IAM and AWS Organizations
    1. What's new with AWS IAM
      1. Using the visual editor to create IAM policies
      2. Testing IAM policies using the IAM Policy Simulator
    2. Introducing AWS Organizations
      1. Getting started with AWS Organizations
    3. Planning your next steps
    4. Summary
  12. Transforming Application Development Using the AWS Code Suite
    1. Understanding the AWS Code Suite
    2. Getting Started with AWS CodeCommit
      1. Working with branches, commits, and triggers
    3. Introducing AWS CodeDeploy
      1. Concepts and terminologies
      2. Installing and configuring the CodeDeploy agent
      3. Setting up the AppSpec file
      4. Creating a CodeDeploy application and deployment group
    4. Introducing AWS CodePipeline
      1. Creating your own continuous delivery pipeline
      2. Putting it all together
    5. Planning your next steps
    6. Summary
  13. Messaging in the Cloud Using Amazon SNS and Amazon SQS
    1. Understanding the AWS messaging services
    2. Getting started with Amazon Simple Notification Service
      1. Sending text messages using SNS
      2. Using Amazon SNS as triggers
      3. Monitoring Amazon SNS using Amazon CloudWatch metrics
    3. Introducing Amazon Simple Queue Service
      1. Creating your first queue
      2. Creating a FIFO queue using the AWS CLI
      3. Integrating Amazon SNS and Amazon SQS
    4. Planning your next steps
    5. Summary
  14. Powering Analytics Using Amazon EMR and Amazon Redshift
    1. Understanding the AWS analytics suite of services
    2. Introducing Amazon EMR
      1. Concepts and terminologies
      2. Getting started with Amazon EMR
      3. Connecting to your EMR cluster
      4. Running a job on the cluster
      5. Monitoring EMR clusters
    3. Introducing Amazon Redshift
      1. Getting started with Amazon Redshift
      2. Connecting to your Redshift cluster
      3. Working with Redshift databases and tables
    4. Planning your next steps
    5. Summary
  15. Orchestrating Data using AWS Data Pipeline
    1. Introducing AWS Data Pipeline
    2. Getting started with AWS Data Pipeline
      1. Working with data pipeline definition Files
      2. Executing remote commands using AWS Data Pipeline
      3. Backing up data using AWS Data Pipeline
    3. Planning your next steps
    4. Summary
  16. Connecting the World with AWS IoT and AWS Greengrass
    1. IoT – what is it?
    2. Introducing the AWS IoT suite of services
    3. Getting started with AWS IoT Core
      1. Connecting a device to AWS IoT Core
      2. Getting started with AWS IoT Device SDK
      3. Working with IoT rules
    4. Introducing AWS Greengrass
      1. Connecting a device to Greengrass Core
      2. Running Lambda functions on AWS Greengrass
    5. Monitoring AWS IoT devices and services
    6. Summary
  17. Other Books You May Enjoy
    1. Leave a review - let other readers know what you think