Skip to content

These are a series of configuration scripts for Ec2 instances.

Notifications You must be signed in to change notification settings

harrisoncramer/EC2-Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Utility scripts for configuring an EC2 instance (Ubuntu)

Quickstart

Create an Ubuntu EC2 instance on AWS and SSH into it. Then curl each of these scripts.

setup.sh

Setup creates a user, provides the user with sudo privileges, and sets an automatic password.

curl https://raw.githubusercontent.com/harrisoncramer/EC2-Scripts/master/setup.sh | sudo bash -s harrisoncramer

You will need to log out and log back in for the changes to take effect as the new user.

shell.sh

Configures ZSH as user's shell w/ oh-my-zsh installed.

curl https://raw.githubusercontent.com/harrisoncramer/EC2-Scripts/master/shell.sh | bash -s

docker.sh

Installs Docker and docker-compose.

node.sh

Installs nvm and node.js version 13.7.0 and sets up user to automatically use those versions. You must log out and login to reload the installation.

ssh.sh

Creates a new SSH key and adds it to the ssh-agent. You must manually then add the keys to your Github account.

nginx

Starts an Nginx server, starts the firewall, and allows HTTP/HTTPS traffic into the server. Turn on authorization for the server.

curl https://raw.githubusercontent.com/harrisoncramer/EC2-Scripts/master/nginx.sh | sudo bash -s

packages.sh

This is a collection of useful applications for development on the Ubuntu server. It includes:

  1. Yarn
  2. PM2
  3. Artillery
  4. GoAccess

About

These are a series of configuration scripts for Ec2 instances.

Topics

Resources

Stars

Watchers

Forks

Languages