Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/harrisoncramer/ec2-scripts

These are a series of configuration scripts for Ec2 instances.
https://github.com/harrisoncramer/ec2-scripts

digitalocean linux mongodb nginx nodejs shell

Last synced: about 1 month ago
JSON representation

These are a series of configuration scripts for Ec2 instances.

Awesome Lists containing this project

README

        

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