Skip to content

Instantly share code, notes, and snippets.

View sampathshivakumar's full-sized avatar

Sampath Siva Kumar Boddeti sampathshivakumar

View GitHub Profile

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

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
@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
@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
#!/bin/bash
sudo swapoff -a
# Enable IPv4 packet forwarding
# sysctl params required by setup, params persist across reboots
cat <<EOF | sudo tee /etc/sysctl.d/k8s.conf
net.ipv4.ip_forward = 1
EOF
# Apply sysctl params without reboot

Contributing a Blog to the OpenObserve website4 Repository

Thank you for your interest in contributing to the OpenObserve blog! Please follow the steps below to write, preview, and submit your blog post.

Step 1: Fork the Repository

To contribute to the OpenObserve blog, begin by forking the repository:

  1. Go to the OpenObserve GitHub repository.
  2. Click the "Fork" button in the top-right corner. This will create a copy of the repository under your own GitHub account.

Alerts - destinations

In OpenObserve (O2), Destinations enable users to set up notification channels for alert messages. These destinations define where and how notifications will be delivered when alerts are triggered. Destinations are reusable, allowing them to be associated with multiple alerts for efficient management.

The Destinations section provides two configuration options:

  1. Webhook: Used for sending notifications to third-party systems via HTTP requests.
  2. Email: Used for delivering notifications directly to email addresses.

Below is a detailed guide on how to configure both Webhook and Email destinations in OpenObserve.