Sign in

In this blog, we will see how to Move Let’s Encrypt certs to another server and renew it.

To move the certs from one server to another -

This process will work without any issues but when you will try to renew the certs then you might see the below error

Attempting to parse the version 1.9.0 renewal configuration file found at /etc/letsencrypt/renewal/abc.com.conf with version 0.40.0 of Certbot. This might not work.
Renewal configuration file /etc/letsencrypt/renewal/abc.com.conf produced an unexpected error…


In this blog, we will explore how to redirect a domain to another domain using Amazon Route 53

Requirement

Solution

For domain forwarding, you need to follow the below steps

NOTE: If you need www.abc.ca also redirects to abc.com


To update a ECS service using script you can use the below command

Parameters required

aws ecs update-service --cluster ecsdeployment --service ecsdeployment-WebService-voWNHfK05HHq --force-new-deployment --region us-east-1

In some cases, this command didn’t update the service and if you need to run just one container for your service and you can have downtime then update your service as shown below :

Automation

You can easily automate this process from your pipeline. Create a shell script and run these commands


When you have multiple applications which are running inside an ECS cluster or anywhere else then how can you use just one loadbalancer for all the applications.

Using separate loadbalancer for each of the services/applications will be more expensive as each LB cost around $15/month and if you have 5 services then this would be $75/month.

Example:

You have an application which is listening on port 8080 and it requires SSL certificates.

Solution


In this blog, we will deploy a container using docker-compose in ECS cluster.

You can follow this blog to deploy a docker container in ECS directly.

Prerequisite

Agenda:

To run it from your local workstation, first you need to set the docker context to use the ECS to run the docker commands

Create new docker context

docker context create ecs myecs
docker context ls
docker context use myecs

Create a docker-compose.yaml file and provide…


In this blog, we will deploy a docker container in Amazon ECS(Elastic Container Service) using ECR ( Elastic Container Registry)

Prerequisite

Agenda:

Create a ECR repository

Go to AWS > ECR > Create a repository

Click on your repository


In this blog, we will be deploying this guestbook application using helm and add the Redis as a dependency.

Prerequisite

Setup a helm project

helm create guestbook
rm -rf guestbook/templates/tests

Adding a Redis Chart dependency

Chart dependencies are used to install other charts’ resources that a Helm chart may depend on.

In this example, we are using Redis as a database so we to need add this as a dependency.

First we can search the charts for redis

helm search hub redis

Now we will add the dependency section in the Charts.yaml


In this blog, we will run a Demo of creating an AWS Lambda Function which will convert a csv file into a json file.

Prerequisite

For this we will use S3 bucket as a source where we will store the csv file that will trigger the lambda function and convert the file in json and store it in another bucket.

We will be creating below resources. You can refer the git repo


In this blog we will learn about AWS Lambda and create a lambda function.

What is Serverless Compute ?

Serverless compute is a cloud computing execution model in which the AWS Cloud acts as the server and dynamically manages the allocation of machine resources.


In this blog, we will explore basics of helm and how to create a custom helm chart.

Prerequisite:

Agenda:

How Kubernetes deployment works ?

In Kubernetes, if you have to deploy any application then at a minimum you need to create a these below components

Nidhi

Devops Automation Enginneer

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