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 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:

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

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.

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.
@sampathshivakumar
sampathshivakumar / names.txt
Created March 8, 2024 11:55
This file contains a list of various names, some of which are repeated. You can utilize Linux commands to identify them
Aurora
Declan
Penelope
Zara
Elijah
Isla
Mila
Sebastian
Adelaide
Mateo

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.
@sampathshivakumar
sampathshivakumar / Vagrantfile
Created March 4, 2024 05:40
this vagrant file create two servers one is centos and another ubuntu with 1Gb memory
# Linux for DevOps Lab Setup
$setup_lab = <<SCRIPT
# Enable root login in ssh configuration
sed -i "s/^PermitRootLogin no/PermitRootLogin yes/g" /etc/ssh/sshd_config
sed -i "s/^PasswordAuthentication no/PasswordAuthentication yes/g" /etc/ssh/sshd_config
systemctl restart sshd
SCRIPT

Continuous Deployment on AWS Elastic Beanstalk with Jenkins

AWS Elastic Beanstalk

what is AWS Elastic Beanstalk?

  • AWS Elastic Beanstalk is a fully managed platform as a service (PaaS) offered by AWS for deploying and managing applications.
  • It simplifies the process of deploying applications by abstracting away the underlying infrastructure details and providing an easy-to-use interface.
  • With Elastic Beanstalk, developers can focus on writing their application code while AWS takes care of the deployment, capacity provisioning, load balancing, and automatic scaling.
  • It supports a variety of programming languages and frameworks, including Java, .NET, PHP, Node.js, Python, Ruby, and Go.

Prerequisites

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
Vagrant.configure("2") do |config|
config.vm.define "controlplane" do |controlplane|
controlplane.vm.box = "ubuntu/jammy64"
controlplane.vm.network "private_network", ip: "192.168.32.10"
controlplane.vm.hostname = "controlplane"
controlplane.vm.provider "virtualbox" do |vb|
vb.memory = "2048"
vb.cpus = 2
end