Docker (source: Google)

Task Description -

Run a Docker Container that can run GUI (Graphical User Interface) Programs

Prerequisite

Note: I’m Using RedHat Enterprise Linux V8 in this practical.

What is Docker?

Docker is an open platform for developing, shipping, and running applications. Docker enables you to separate your applications from your infrastructure so you can deliver software quickly. With Docker, you can manage your infrastructure in the same ways you manage your applications. By taking advantage of Docker’s methodologies for…


AWS CLI (Source: Google)

TASK Description -

What is AWS CLI ?

The AWS Command Line Interface (CLI) is a unified tool to manage your AWS services. With just one tool to download and configure, you can control multiple AWS services from the command line and automate them through scripts. (Source: aws.amazon.com)

Install AWS CLI

So, first we need to install AWS…


Configure Haproxy on AWS EC2 Instance

Tasks -

Summary: In One-Click Instance Launched, Web Servers provisioned and Load Balancer ready!

prerequisites -

So, lets get started

we’re going to run all the tasks on localhost (controller node)…


Ansible with AWS EC2 and Apache web server

Task -

Deploy Web Server on AWS EC2 through ANSIBLE !!!

prerequisites -

So, lets get started

we’re going to run all the tasks on localhost (controller node), so there is no need to configure static inventory of controller node.

Configure ansible.cfg…


Apache web server on Docker Container using Ansible

Task -

Write an Ansible PlayBook that does the following operations in the managed nodes -

🔹 Configure Docker package
🔹 Start and enable Docker services
🔹 Pull the httpd server image from the Docker Hub
🔹 Run the httpd container and expose it to the public
🔹 Copy the html code in /var/www/html directory and start the web server

prerequisites -

So, lets get started

Configure Controller node inventory file. Add all the hosts (managed nodes) in it.

[docker]
192.168.43.39 …

Integrating Minikube [Kubernetes (WordPress)] with Amazon RDS (MySQL) using Terraform

Task Overview

➡ Write an Infrastructure as code using terraform, which automatically deploy the WordPress application
➡ On AWS, use RDS service for the relational database for WordPress application.
➡ Deploy the WordPress as a container either on top of Minikube or EKS or Fargate service on AWS
➡ The WordPress application should be accessible from the public world if deployed on AWS or through workstation if deployed on Minikube.

Note:

Here I’m using Minikube to deploy WordPress container.

Let’s Get Started

Add Provider in your “.tf” file.

Here we have to add two providers, one is for Kubernetes and another is for…


Task Overview

1) Write a Infrastructure as code using terraform, which automatically create a VPC.

2) In that VPC we have to create 2 subnets:

a) public subnet [ Accessible for Public World! ]

b) private subnet [ Restricted for Public World! ]

3) Create a public facing internet gateway for connect our VPC/Network to the internet world and attach this gateway to our VPC.

4) Create a routing table for Internet gateway so that instance can connect to outside world, update and associate it with public subnet.

5) Launch an ec2 instance which has Wordpress setup already having the…


Task Overview

The following steps are followed:

  • Write an Infrastructure as code using Terraform, which automatically create a VPC.
  • In that VPC we have to create 2 subnets:

1. public subnet [ Accessible for Public World! ]

2. private subnet [ Restricted for Public World! ]

  • Create a public-facing internet gateway to connect our VPC/Network to the internet world and attach this gateway to our VPC.
  • Create a routing table for Internet gateway so that instance can connect to the outside world, update and associate it with the public subnet.
  • Create a NAT gateway to connect our VPC/Network to the…


Terraform integrated with AWS

Cloud computing with AWS

Amazon Web Services (AWS) is the world’s most comprehensive and broadly adopted cloud platform, offering over 175 fully featured services from data centers globally. Millions of customers — including the fastest-growing startups, largest enterprises, and leading government agencies — are using AWS to lower costs, become more agile, and innovate faster.

What is AWS used for ?

Amazon Web Services (AWS) is a secure cloud services platform, offering compute power, database storage, content delivery and other functionality to help businesses scale and grow. Running web and application servers in the cloud to host dynamic websites.

What…

Shashi Kant

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store