This is the code repository for The Linux DevOps Handbook, published by Packt.
Customize and scale your Linux distributions to accelerate your DevOps workflow
This book is for software and IT professionals seeking knowledge on Linux systems and DevOps practices. This book will provide you with guidance and tools to learn and gain proficiency in managing Linux-based infrastructures and knowledge of DevOps.
This book covers the following exciting features:
- Understand how to manage infrastructure using Infrastructure as Code (IaC) tools such as Terraform and Atlantis
- Automate repetitive tasks using Ansible and Bash scripting
- Set up logging and monitoring solutions to maintain and troubleshoot your infrastructure
- Identify and understand how to avoid common DevOps pitfalls
- Automate tasks and streamline workflows using Linux and shell scripting
- Optimize DevOps workflows using Docker
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, Chapter02.
The code will look like the following:
docker build [OPTIONS] PATH | URL | -
Following is what you need for this book: This book is for DevOps Engineers looking to extend their Linux and DevOps skills as well as System Administrators responsible for managing Linux servers, who want to adopt DevOps practices to streamline their operations. You’ll also find this book useful if you want to build your skills and knowledge to work with public cloud technologies, especially AWS, to build and manage scalable and reliable systems.
With the following software and hardware list you can run all code files present in the book (Chapter 1-14).
Software required | OS required |
---|---|
Bash | Linux OS has it preinstalled |
Ansible | Python3 or never |
Terraform | Linux OS |
AWS CLI | Python3 or never |
Docker | Linux OS |
Damian Wojslaw has been working in the IT industry since 2001. He specializes in administration and troubleshooting of Linux servers. Being a system operator and support engineer he has found DevOps philosophy a natural evolution of the way sysops work with developers and other members of the software team.
Grzegorz Adamowicz has been working in the IT industry since 2006 in a number of positions, including Systems Administrator, Backend Developer (PHP, Python), Systems Architect and Site Reliability Engineer. Professionally was focused on building tools and automations inside projects he is involved in. He’s also engaged with the professional community by organizing events like conferences and workshops. Grzegorz worked in many industries including Oil & Gas, Hotel, Fintech, DeFI, Automotive, Space and many more.
For some of the chapters of this book - namely chapters 12 and later - you will need an AWS account with set up billing.
We are also recommending to add 2FA right after you finish creating your account
Warning: a lot of resources are free-tier eligible, but some, like NAT Gateway, will be paid by the hour and data transfer.
- Introduction
- Creating a New AWS Account
- Setting Up Payment by Credit Card
- Enabling Second-Factor Authentication (2FA) for Root User
This guide provides step-by-step instructions on creating a new AWS account, setting up payment using a credit card, and enabling second-factor authentication (2FA) for the root user.
Visit the AWS Signup page at https://aws.amazon.com/ and click on the "Create an AWS Account" button.
Fill in the required account information, including email address, password, and AWS account name.
Follow the prompts to set up identity verification. This may include providing a phone number for verification purposes.
Select a support plan based on your requirements. Choose between the free Basic Plan or a paid plan with additional features.
Complete the registration process by providing payment information. You will not be charged unless you exceed the limits of the AWS Free Tier.
Log in to the AWS Management Console, navigate to the "Billing & Cost Management" service.
In the Billing & Cost Management console, select "Payment Methods" from the left navigation pane.
Click on the "Add a credit card" button and enter the required credit card information. Save the changes.
Log in to the AWS Management Console using your root user credentials.
In the AWS Management Console, navigate to the "IAM" service.
Click on "Users" in the IAM dashboard, select the root user, and navigate to the "Security credentials" tab.
Under Multi-Factor Authentication (MFA), click on "Manage MFA" and follow the prompts to enable MFA for the root user.
Congratulations! You have successfully created a new AWS account, set up payment by credit card, and enabled second-factor authentication for the root user.