Hey there! Here we are going to deploy the WordPress application on Kubernetes(locally using Minikube). For the database of WordPress, we are going to use RDS from AWS.

Amazon Relational Database Service (RDS) is a distributed relational database service by Amazon Web Services. It is a web service running “in the cloud” designed to simplify the setup, operation, and scaling of a relational database for use in applications.

So without any delay let’s start building:

Step 1: On AWS, use RDS for the relational database for WordPress application

Here we have used aws_db_instance resource for the RDS. We can specify the value of various arguments according to our need. …

Hey there! Here we are going to add NAT Gateway to provide internet access to instances running in the private subnet. In one of the previous article (link here), we have discussed creating a web portal on AWS which would be very much secure, but in that after creating VPC, and creating two subnets, public and private, you must’ve noticed that instance in the private subnet doesn’t really have internet access. And that’s the issue we are going to solve this time, that is we’ll give internet access to instances in the private subnet as well. …

Hey there! This time we are creating a web portal let’s say for a company with as much security we can add from ourself on AWS. But the thing is we will try to use terraform as much as possible (for some of the steps we could go manually).

So, basically we are going to use Wordpress software with a dedicated database server. And to enhance security, the database will not be accessible from the outside world. We only need to keep the WordPress site in the public domain so that the clients can connect to it.

So here are…

Hey there! Here we are going to launch a website on an EC2-instance and to make the storage persistent we will use Amazon EFS. But we’ll do all this using terraform code. In case you want to use Amazon EBS then you can check this out.

Before we begin, we need to set-up the provider in terraform. You can find that step here. So, let’s start now.

Step1: Create a Security Group

Here we are going to create a security group using aws_security_group resource. You can give name, description and vpc_id accordingly. Then we set ingress/inbound rules. I have added rules for SSH, HTTP and…

Hey there, this time we are going to create a WordPress Site on top of Cloud Computing services, and needless to say, it will be highly fault-tolerant, which means your site won’t ever appear to be down. Isn’t that amazing?

Whenever talking about achieving high fault-tolerance, one word comes straight in our mind, Kubernetes. …

These days cloud is blooming and you must have used AWS, GCP, Microsoft Azure or some other cloud computing platform, through their Web App or CLI. Well, that could be a way to access the services from providers, but don’t you think it’s an old and time-consuming way because of its manual nature. But what if we automate everything, like from creating key-pair for the instance to set up an instance to setting it up as a web-server. And that’s what we are going to do today.

And the best thing is that there is a tool available for this…

Abhishek Kumar

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