/The-Linux-DevOps-Handbook

The Linux DevOps Handbook, published by Packt

Primary LanguageHCLMIT LicenseMIT

The Linux DevOps Handbook

This is the code repository for The Linux DevOps Handbook, published by Packt.

Customize and scale your Linux distributions to accelerate your DevOps workflow

What is this book about?

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!

https://www.packtpub.com/

Instructions and Navigations

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 and Hardware List

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

Related products

Get to Know the Authors

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.

Additional information for the reader

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.

Table of Contents

  1. Introduction
  2. Creating a New AWS Account
  3. Setting Up Payment by Credit Card
  4. Enabling Second-Factor Authentication (2FA) for Root User

Introduction

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.

Creating a New AWS Account

Step 1: Go to AWS Signup Page

Visit the AWS Signup page at https://aws.amazon.com/ and click on the "Create an AWS Account" button.

Step 2: Provide Account Information

Fill in the required account information, including email address, password, and AWS account name.

Step 3: Set Up Identity Verification

Follow the prompts to set up identity verification. This may include providing a phone number for verification purposes.

Step 4: Choose a Support Plan

Select a support plan based on your requirements. Choose between the free Basic Plan or a paid plan with additional features.

Step 5: Complete the Registration

Complete the registration process by providing payment information. You will not be charged unless you exceed the limits of the AWS Free Tier.

Setting Up Payment by Credit Card

Step 1: Access Billing & Cost Management Console

Log in to the AWS Management Console, navigate to the "Billing & Cost Management" service.

Step 2: Navigate to the Payment Methods

In the Billing & Cost Management console, select "Payment Methods" from the left navigation pane.

Step 3: Add a Credit Card

Click on the "Add a credit card" button and enter the required credit card information. Save the changes.

Enabling Second-Factor Authentication (2FA) for Root User

Step 1: Access AWS Management Console

Log in to the AWS Management Console using your root user credentials.

Step 2: Navigate to IAM (Identity and Access Management)

In the AWS Management Console, navigate to the "IAM" service.

Step 3: Access Root User Security Credentials

Click on "Users" in the IAM dashboard, select the root user, and navigate to the "Security credentials" tab.

Step 4: Enable MFA (Multi-Factor Authentication)

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.