Giter VIP home page Giter VIP logo

deployec2awscli-rhelversion's Introduction

DeployEC2AWSCli-RHELVersion

This repository contains a little bash-script to easily deploy any instance in aws ec2 using aws-cli.

Details

This script can be used to deploy any EC2 RHEL version instance in aws ec2 using aws-cli. At the moment the script creates a t2.micro instance of the free layer and uses the Official ALMALinux AMI ID to install an up-to-date and working RHEL system.

This script creates a standard security group with the basic rules for web access with the ports:

  • 80
  • 443
  • and a custom SSH port that the user sets for security.

This script creates a pem key in the folder or place where you are located in your terminal:

You can copy the file elsewhere to keep it in a safe place. PEMFile

It also creates a floating IP so that the machine is always connected to a Fixed IP.

All the resources assigned in this script are left with their own name that the script creates randomly.

This script does not ask for the region to deploy the instance, it assumes that you already have this configured in your aws-cli environment or if you are using cloudshell, that you are in the region where you want to deploy the new server.

How to use

Its use is very simple, you just need to go to the cloudshell in your aws console or configure and use aws-cli app on your favorite linux distro:

wget -qN https://raw.githubusercontent.com/lfelipe1501/DeployEC2AWSCli-RHELVersion/main/DeployAWS-RHLBase.sh && chmod +x DeployAWS-RHLBase.sh && bash DeployAWS-RHLBase.sh

a small example of how it works 😎

awsclirhl.mp4

that's it

Contact / Social Media

Get the latest News about Web Development, Open Source, Tooling, Server & Security

Twitter Facebook Github

Development by

Developer / Author: Luis Felipe Sánchez Company: lfsystems

deployec2awscli-rhelversion's People

Contributors

lfelipe1501 avatar

Stargazers

Lê Đức Bằng avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.