Utility scripts for configuring an EC2 instance (Ubuntu)
Create an Ubuntu EC2 instance on AWS and SSH into it. Then curl each of these scripts.
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.
Configures ZSH as user's shell w/ oh-my-zsh installed.
curl https://raw.githubusercontent.com/harrisoncramer/EC2-Scripts/master/shell.sh | bash -s
Installs Docker and docker-compose.
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.
Creates a new SSH key and adds it to the ssh-agent. You must manually then add the keys to your Github account.
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
This is a collection of useful applications for development on the Ubuntu server. It includes:
- Yarn
- PM2
- Artillery
- GoAccess