Pinned Repositories
ApplicationLoadBalancer-using-terraform
Application Load Balancer + Autoscaling group: An Application Load Balancer functions at the application layer, the seventh layer of the Open Systems Interconnection (OSI) model. After the load balancer receives a request, it evaluates the listener rules in priority order to determine which rule to apply, and then selects a target from the target group for the rule action. You can configure listener rules to route requests to different target groups based on the content of the application traffic. Routing is performed independently for each target group, even when a target is registered with multiple target groups. You can configure the routing algorithm used at the target group level. The default routing algorithm is round robin; alternatively, you can specify the least outstanding requests routing algorithm.
asg-rolling-update-using-ansible
aws-elb-site
Demo site for amazon elb . Used language is php and html
Docker-compose-Mysql-Flask-application
Flask is a micro web framework written in Python. It is classified as a microframework because it does not require particular tools or libraries. It has no database abstraction layer, form validation, or any other components where pre-existing third-party libraries provide common functions.
Docker-compose-with-wordpress-certbot-php-mysql-nginx
This is simple docker compose setup using Nginx,certbot,mysql and wordpress. Docker-Compose is a command line tool for defining and managing multi-container docker containers as if they were a single service. Compose is written in python and can be installed with the Python pip command. With compose, we can run multiple docker containers just with a single command. It allows you to create a container as a service, great for your development, testing and staging environment.
Ec2-creation-using-VPC-module
Amazon Virtual Private Cloud (Amazon VPC) enables you to launch Amazon Web Services resources into a virtual network you've defined. This virtual network resembles a traditional network that you'd operate in your own data center, with the benefits of using the scalable infrastructure of AWS. A Terraform module is a collection of standard configuration files in a dedicated directory. Terraform modules encapsulate groups of resources dedicated to one task, reducing the amount of code you have to develop for similar infrastructure components.
MariaDB-Master-Master-Replication
Replication in SQL databases is the process of copying data from the source database to another one (or multiple ones) and vice versa. Data from one database server are constantly copied to one or more servers. You can use replication to distribute and balance requests across a pool of replicated servers, provide failover and high availability of MariaDB databases. The MariaDB (and MySQL) allows to use two types database replication mades: Master-Master and Master-Slave. In this article we’ll consider how to configure both types of MariaDB replication on Linux CentOS 7.
Route-53--Subdomain-hosted-zone-using-IAM-user
Route 53 and IAM - Allowing access to specific hosted zones with Route 53 and IAM. AWS Route 53 takes its name with reference to Port 53, which handles DNS for both the TCP and UDP traffic requests; the term Route may signify the routing, or perhaps the popular highway naming convention. Route 53 is an Authoritative DNS service, which contains information about the mapping of IP addresses to domain names.
terraform-packer-ami
Packer is an open source tool for creating identical machine images for multiple platforms from a single source configuration. Packer is lightweight, runs on every major operating system, and is highly performant, creating machine images for multiple platforms in parallel.
terraform-vpc-ec2-project
Using VPC, you can quickly spin up a virtual network infrastructure that AWS instances can be launched into. Each VPC defines what your AWS resources need, including: IP addresses. Subnets.
jomyg's Repositories
jomyg/MariaDB-Master-Master-Replication
Replication in SQL databases is the process of copying data from the source database to another one (or multiple ones) and vice versa. Data from one database server are constantly copied to one or more servers. You can use replication to distribute and balance requests across a pool of replicated servers, provide failover and high availability of MariaDB databases. The MariaDB (and MySQL) allows to use two types database replication mades: Master-Master and Master-Slave. In this article we’ll consider how to configure both types of MariaDB replication on Linux CentOS 7.
jomyg/asg-rolling-update-using-ansible
jomyg/jenkins-ansible-docker-git-project
This is a DevOps project using Git, Jenkins, Ansible and Docker on AWS for deploying a python-flask application in a Docker container.The process should be initiated from a new commit to a specific branch of a GitHub repository. This event kicks off a process that begins building the Docker image. Jenkins supports this event-driven flow using the “GitHub hook trigger for GITScm polling".
jomyg/jomyg
My profile README
jomyg/Mount-S3-Bucket-on-amazon-linux-using-S3FS
S3FS is FUSE (File System in User Space) based solution to mount an Amazon S3 buckets, We can use system commands with this drive just like as another Hard Disk in the system. On s3fs mounted files systems we can simply use cp, mv and ls the basic Unix commands similar to run on locally attached disks.
jomyg/ansible-dockerfile-push-pull-via-git
jomyg/Ansible-dynamic-inventory-EC2
Simple ansible dynamic inventory EC2 creation with apache. In this demo, we will utilize Dynamic inventory feature of Ansible to track the details of newly created instances and deploy a sample HTML website to these EC2 instances. Often an Ansible inventory(static) fluctuates over time, with hosts spinning up and shutting down in response to business demands and the static inventory solutions will not be able to serve the needs. You may need to track hosts for multiple instances and it can be hectic to manage the inventory file each time.Hence, to overcome this we can make use of the option dynamic inventory to get the details of the instances and provison the EC2 according to the requirements.
jomyg/Ansible-image-and-container-creation-using-latest-git-repo
jomyg/Aws-Autoscale-suspend-checker
Python script for auditing Auto Scaling Groups and retrieving information about suspended processes
jomyg/AWS-Elastic-Beanstalk-CodePipeline-git
AWS Elastic Beanstalk is an orchestration service offered by Amazon Web Services for deploying applications which orchestrates various AWS services, including EC2, S3, Simple Notification Service, CloudWatch, autoscaling, and Elastic Load Balancers.Pipeline as code is a practice of defining deployment pipelines through source code, such as Git. Pipeline as code is part of a larger “as code” movement that includes infrastructure as code. Teams can configure builds, tests, and deployment in code that is trackable and stored in a centralized source repository.
jomyg/azure-remove-files-in-azure-devops
jomyg/Classic-Loadbalancer-mysql-SNS-alert-autostart
This script is very useful for those who are looking for getting an alert if an service is down. How can we get an alert if the MariaDB service is down. The script will also help to autostart using the help of crontab if the service is down
jomyg/cloudfront-Route53-ACM-S3-bucket-site-hosting
Amazon CloudFront is a content delivery network operated by Amazon Web Services. Content delivery networks provide a globally-distributed network of proxy servers that cache content, such as web videos or other bulky media, more locally to consumers, thus improving access speed for downloading the content.
jomyg/docker-container-availability-script
jomyg/Dockerfile-Javascript
jomyg/Ec2-creation-and-manage-using-Ansible-playbook
Ansible is an open source tool that you can use to automate your AWS deployments. You can use it to define, deploy, and manage applications and services using automation playbooks. These playbooks enable you to define configurations once and deploy those configurations consistently across environments
jomyg/Flatris-LAB
JOMY-Azure-test
jomyg/Git-basics-part1
Git is a DevOps tool used for source code management. It is a free and open-source version control system used to handle small to very large projects efficiently. Git is used to tracking changes in the source code, enabling multiple developers to work together on non-linear development.
jomyg/Git-basics-part2
jomyg/Git-basics-part3
git-basics-part3
jomyg/git-flask-app
jomyg/Important-terraform-codes
Important-terraform-codes
jomyg/My-custom-simple-basic-website
My-custom-simple-basic-website
jomyg/php-script-to-fetch-db-details
php-script-to-fetch-the-db-details. Simple php script with hard coded logins and setup connection. Try it yourself if you have installed the required resources
jomyg/postgres-docker-compose
jomyg/Python-script-that-shuts-down-and-starts-an-AWS-RDS
Python script that shuts down and starts an AWS RDS instance according to the schedule you specified, you can use the AWS SDK for Python (Boto3). Make sure you have Boto3 installed and configured with your AWS credentials.
jomyg/Python_Lambda_fuction_to_stop-start_an_instance
Python_Lambda_fuction_to_stop-start_an_instance , AWS Lambda is Amazon’s serverless compute service. You can run your code on it without having to manage servers or even containers. It will automatically scale depending on how much work you feed into it. And it build event-driven functions for easy communication between decoupled services. Reduce costs by running applications during times of peak demand i.e you need to pay only for the time taken to execute the code.
jomyg/retention-policy-azure-storage-account
retention-policy-azure-storage-account
jomyg/test-php
jomyg/wordpress-setup-using-cloudformation
AWS CloudFormation Sample Template WordPress_Single_Instance: WordPress is web software you can use to create a beautiful website or blog. This template installs WordPress with a local MySQL database for storage. It demonstrates using the AWS CloudFormation bootstrap scripts to deploy WordPress. **WARNING** This template creates an Amazon EC2 instance.