Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
AWS SysOps Cookbook
AWS SysOps Cookbook

AWS SysOps Cookbook: Practical recipes to build, automate, and manage your AWS-based cloud environments , Second Edition

Arrow left icon
Profile Icon Eric Z. Beard Profile Icon Udell Profile Icon Chan
Arrow right icon
€18.99 per month
Full star icon Full star icon Full star icon Full star icon Full star icon 5 (3 Ratings)
Paperback Sep 2019 490 pages 2nd Edition
eBook
€17.99 €26.99
Paperback
€32.99
Subscription
Free Trial
Renews at €18.99p/m
Arrow left icon
Profile Icon Eric Z. Beard Profile Icon Udell Profile Icon Chan
Arrow right icon
€18.99 per month
Full star icon Full star icon Full star icon Full star icon Full star icon 5 (3 Ratings)
Paperback Sep 2019 490 pages 2nd Edition
eBook
€17.99 €26.99
Paperback
€32.99
Subscription
Free Trial
Renews at €18.99p/m
eBook
€17.99 €26.99
Paperback
€32.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing
Table of content icon View table of contents Preview book icon Preview Book

AWS SysOps Cookbook

Account Setup and Management

We work with a lot of companies that maintain a large, ever-growing number of AWS accounts. Keeping a handle on all these accounts is typically quite difficult to do even for the most seasoned Amazon Web Services (AWS) users.

With the release of AWS Organizations and, more recently, AWS Control Tower, you have the ability to centrally manage your AWS accounts, arrange them into logical groupings and hierarchies, and apply controls to them in ways that help you create a secure and compliant environment.

In this chapter, we will cover the following recipes:

  • Setting up an automated landing zone with AWS Control Tower
  • Setting up a master account with AWS Organizations
  • Creating a member account
  • Inviting an account
  • Managing your accounts
  • Adding a Service Control Policy (SCP)
  • Setting up consolidated billing

...

Setting up an automated landing zone with AWS Control Tower

AWS Control Tower is a service that helps you set up an automated landing zone using best practices for account management that have been learned from years of working with a variety of customers who have complex multi-account environments. Control Tower is the successor to AWS Landing Zone and relies heavily on AWS Organizations, which will be covered in detail later in this chapter.

In this recipe, you will create a new account to serve as the Control Tower master, and within that account, you will launch your Control Tower environment, which will spawn two additional core accounts: Log Archive and Audit. Then, you will use the AWS Service Catalog to create a new provisioned account. Within a provisioned account, you will attempt to create resources that fail to comply with the guardrails established on the organizational...

Setting up a master account with AWS Organizations

In the previous recipe, you used AWS Control Tower to automatically create your landing zone. AWS Control Tower relies on AWS Organizations to manage Organizational Units and Accounts, so it's very important to understand how it works. In this recipe, you will use AWS Organizations to create your own account structure from scratch, starting with a new master account.

All accounts that use AWS Organizations for billing and control purposes must have a master account. This account controls membership to the organization and pays the bills of all the members (someone's got to do it!).

How to do it...

To set up a master account, perform the following steps:

  1. Go to the...

Creating a member account

Once your organization is up and running, the most common use you will have for it is automating the account creation process. Accounts that are created inside an organization are referred to as member accounts.

All charges that are incurred by a member account will be billed to the master account.

Getting ready

Obviously, you will need an organization to perform this recipe. See the other recipes in this chapter to get started. In this recipe, we will use the CLI instead of the web console. It's good practice to flex your command-line skills now and then since the CLI is such a powerful tool for scripting and automation.

...

Inviting an account

While it makes sense to create new accounts in your organization, what do you do with all the other accounts you have now?

You can invite existing accounts into your organization, which means you can treat them just like a member account from an administrative point of view. This greatly simplifies the administrative overhead of your accounts, as there isn't a separate process for old and new accounts.

As this is generally performed once for each existing account, we will use the console.

All of AWS Organization's functionality is available via the SDKs and the AWS CLI tool. If you need to automate this process, you can.

Getting ready

You must have enabled AWS Organizations for one of your accounts...

Managing your accounts

There are a number of ways to group and arrange your AWS accounts. How you do this is completely up to you, but the following are a few examples to consider:

  • Business unit (BU) or location: You may wish to allow each BU to work in isolation on its own products or services, on its own schedule, without impacting other parts of the business.
  • Cost center: Grouping according to cost may help you track spending versus the allocated budget.
  • Environment type: It may make sense to group your development, test, and production environments together in a way that helps you manage the controls across each environment.
  • Workload type or data classification: Your company may want to isolate workload types from each other, or ensure that particular controls are applied to all the accounts containing a particular kind of data.

In the following fictitious example, we have...

Adding a Service Control Policy (SCP)

Before we begin, we should talk about what SCPs are and how they apply to your organization.

An SCP consists of a policy document that defines (by way of filtering) the services and actions that can be used and performed within an OU or in an AWS account.

If you've previously configured an IAM policy, then you will have more than enough background knowledge to get started with SCPs. Apart from a couple of minor exceptions, they look exactly the same.

SCPs can be applied at different levels throughout an organization. The following are the levels, starting from the bottom and going up:

  • AWS account level: An SCP that's applied to an AWS account takes effect on only that account. It's important to note that the SCP is very separate from the IAM policies that live inside the account. For example, an SCP might allow full access...

Setting up consolidated billing

By setting up your accounts with AWS Organizations, you can consolidate your AWS bill so that you are not being charged separately for each of your child accounts. You get one bill for all the accounts and you can easily track the charges from a single place. By combining accounts, you will save money by sharing volume discounts and reserved instance pricing.

How to do it...

All you have to do to enable consolidated billing is create a master account in AWS Organizations (or via Control Tower, as described earlier in this chapter). The master account will be automatically configured to receive the bill for all subordinate accounts. For billing purposes, all accounts will be treated as one account...

Left arrow icon Right arrow icon

Key benefits

  • Explore AWS Cloud functionalities through a recipe-based approach
  • Get to grips with a variety of techniques for automating your infrastructure
  • Discover industry-proven best practices for architecting reliable and efficient workloads

Description

AWS is an on-demand remote computing service providing cloud infrastructure over the internet with storage, bandwidth, and customized support for APIs. This updated second edition will help you implement these services and efficiently administer your AWS environment. You will start with the AWS fundamentals and then understand how to manage multiple accounts before setting up consolidated billing. The book will assist you in setting up reliable and fast hosting for static websites, sharing data between running instances and backing up data for compliance. By understanding how to use compute service, you will also discover how to achieve quick and consistent instance provisioning. You’ll then learn to provision storage volumes and autoscale an app server. Next, you’ll explore serverless development with AWS Lambda, and gain insights into using networking and database services such as Amazon Neptune. The later chapters will focus on management tools like AWS CloudFormation, and how to secure your cloud resources and estimate costs for your infrastructure. Finally, you’ll use the AWS well-architected framework to conduct a technology baseline review self-assessment and identify critical areas for improvement in the management and operation of your cloud-based workloads. By the end of this book, you’ll have the skills to effectively administer your AWS environment.

Who is this book for?

If you are an administrator, DevOps engineer, or an IT professional interested in exploring administrative tasks on the AWS Cloud, then this book is for you. Familiarity with cloud computing platforms and some understanding of virtualization, networking, and other administration-related tasks is assumed.

What you will learn

  • Secure your account by creating IAM users and avoiding the use of the root login
  • Simplify the creation of a multi-account landing zone using AWS Control Tower
  • Master Amazon S3 for unlimited, cost-efficient storage of data
  • Explore a variety of compute resources on the AWS Cloud, such as EC2 and AWS Lambda
  • Configure secure networks using Amazon VPC, access control lists, and security groups
  • Estimate your monthly bill by using cost estimation tools
  • Learn to host a website with Amazon Route 53, Amazon CloudFront, and S3

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Sep 27, 2019
Length: 490 pages
Edition : 2nd
Language : English
ISBN-13 : 9781838550189
Vendor :
Amazon
Tools :

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

Publication date : Sep 27, 2019
Length: 490 pages
Edition : 2nd
Language : English
ISBN-13 : 9781838550189
Vendor :
Amazon
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 107.97
AWS SysOps Cookbook
€32.99
Implementing Cloud Design Patterns for AWS
€32.99
AWS Certified Developer - Associate Guide
€41.99
Total 107.97 Stars icon
Banner background image

Table of Contents

14 Chapters
AWS Fundamentals Chevron down icon Chevron up icon
Account Setup and Management Chevron down icon Chevron up icon
AWS Storage and Content Delivery Chevron down icon Chevron up icon
AWS Compute Chevron down icon Chevron up icon
Monitoring the Infrastructure Chevron down icon Chevron up icon
Managing AWS Databases Chevron down icon Chevron up icon
AWS Networking Essentials Chevron down icon Chevron up icon
AWS Account Security and Identity Chevron down icon Chevron up icon
Managing Costs Chevron down icon Chevron up icon
Advanced AWS CloudFormation Chevron down icon Chevron up icon
AWS Well-Architected Framework Chevron down icon Chevron up icon
Working with Business Applications Chevron down icon Chevron up icon
AWS Partner Solutions Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Full star icon Full star icon 5
(3 Ratings)
5 star 100%
4 star 0%
3 star 0%
2 star 0%
1 star 0%
Venkatesh Govindarajan Nov 17, 2019
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book is a great reference to setup, operate and monitor AWS Resources like RDS databases, Storage etc. It goes in detail on how to setup a RDS database including multi AZ setup and using Cloud Formation to accomplish the same. Explains concepts with a hands-on approach.
Amazon Verified review Amazon
Silva Mar 02, 2020
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book is a great tool to help AWS users, how to manage the AWS resources, starting from the basics of AWS CLI to modern automation tools such as IaC CloudFormation stack. The book also shows how to create a static webpage using Storage S3 and the AWS content delivery network to cache the content around the world, providing all the codes example in AWS CLI and using CloudFormation, lots of examples. The chapter about AWS networking provides several codes to create the VPC, subnets, Internet Gateway, and VPN to connect the users' network to AWS infrastructure.I am still using the book as a reference when I need it because AWS is very complex and deep, it's almost impossible to know everything deeply in the AWS world, so this book it's a good reference to build a dev/test/prod environments on AWS.
Amazon Verified review Amazon
Amazon Customer Nov 26, 2019
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Even-though I have been using AWS for about 5 years now, this book was great and useful! I learned some new items and have used it as a reference a few times this past month.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.