Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/harrisoncramer/ec2-scripts
- Owner: harrisoncramer
- Created: 2019-12-16T02:50:17.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-30T19:58:23.000Z (almost 2 years ago)
- Last Synced: 2023-04-22T00:48:42.823Z (over 1 year ago)
- Topics: digitalocean, linux, mongodb, nginx, nodejs, shell
- Language: Shell
- Homepage:
- Size: 63.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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