Skip to content

Instantly share code, notes, and snippets.

View sampathshivakumar's full-sized avatar

Sampath Siva Kumar Boddeti sampathshivakumar

View GitHub Profile

Step by Step guide to install Apache Tomcat on Amazon Linux

10

Prerequisites:

  • Amazon Linux Machine with a minimum of 1GB RAM. It will be sufficent to do A proof of concept (POC).
  • Open Port.No: 8080 in EC2-security group.

Install Java.

sudo su - 
amazon-linux-extras install java-openjdk11=latest -y

Step by Step guide to install Jenkins on Amazon Linux.

1

Prerequisites:

Minimum hardware requirements:

  • 256 MB of RAM Enough for doing proof of concept (POC).
  • 1 GB of drive space (although 10 GB is a recommended minimum if running Jenkins as a Docker container) Recommended hardware configuration for a small team:
  • 4 GB+ of RAM.
  • 50 GB+ of drive space. Software requirements:

How to Start Tomcat Automatically At The Startup and Reboot of The Instance.

10

Observation.

If you have installed Tomcat By downloading Binaryfile,Then you might have observed that Tomcat will not start after stop and start or reboot of your server.

Execute the following commands to Enable-Tomcat on reboot and startup of your instance.

# Become a root user.
sudo su -

Deploy-a-Java-Web-Application-to-Tomcat-Server-Using-Jenkins-with-Slack-Notification.

DevOps Pipeline Diagram:-

java web-app

Prerequisites:-

  • Tomcat Server up and running.
  • Jenkins Server up and running.
  • Jenkins Integration with Slack Notification.
  • A Java Project.

Deploying a Static Website to AWS S3 with HTTPS using CloudFront.

static website

Prerequisites.

  • You should have a domain name already purchased to link with your Static Website.
  • Some Web content to display on your domain.

By the end of this post you will be able to:

  • Create an S3 bucket and Configure it for static website hosting.
  • Create a record in Route 53.
  • Create a CloudFront distribution and link it with your custom domain.
  • Create Certificates in AWS Certificate Manager.

How to Deploy a Flask Application to a EKS Cluster using Jenkins and ArgoCD.

GitOps

Prerequisites.

  • Jenkins Server up and running.
  • Docker and git installed inside Jenkins Server.
  • Docker Hub account.
  • AWS Account.
  • GitHub Account.
  • EKS Cluster running
  • Basic Understanding of Jenkins, Docker and Kubernetes.

How to Build Serverless Web Application in AWS.

Serverless

What is Serverless?

  • Serverless computing is a cloud computing model where developers write and deploy code as individual functions or services without managing servers.
  • The cloud provider takes care of infrastructure provisioning, scaling, and maintenance.
  • Developers focus solely on writing code, and the platform automatically allocates resources and scales applications based on demand.

Why Serverless?

  • serverless computing provides developers with a more streamlined and efficient development experience while delivering automatic scaling, cost savings, and improved agility.
  • It is particularly beneficial for applications with varying workloads, sporadic usage patterns, and the need for rapid innovation.

Prerequisites.

AWS Event Driven Architecture

Event driven Architecture

What is AWS Event Driven Architecture ?

  • AWS Event-Driven Architecture is an approach that utilizes Amazon Web Services to build scalable and decoupled applications.
  • It relies on events as the primary means of communication between components.
  • The architecture includes event sources that generate events, an event bus for routing events, rules to filter and route events, and targets for actions triggered by events.
  • Event Driven Architecture offers benefits such as scalability, loose coupling, flexibility, and real-time processing.

Prerequisites

  • AWS Account

Three-Tier Architecture in AWS Using Terraform

The three-tier architecture is the most popular implementation of a multi-tier architecture and consists of a single presentation tier, logic tier, and data tier.

The following illustration shows an example of a simple, generic three-tier application. Three-tier architecture

GitHub Repo:- https://github.com/sampathshivakumar/3-Tier-Architecture-Terraform

Resources need to be created are

  • Custom VPC