All Projects → iDoMeteor → Amazon Scripts

iDoMeteor / Amazon Scripts

Administrative scripts for my EC2 Amazon Linux based Meteor/Mongo/Nginx/Node/Passenger server

Programming Languages

shell
77523 projects

Labels

Projects that are alternatives of or similar to Amazon Scripts

Laravel Ubuntu Init
A shell script for setting up Laravel Production environment on Ubuntu 14.04 & Ubuntu 16 & Ubuntu 18 system.
Stars: ✭ 695 (+11483.33%)
Mutual labels:  nginx
Nginx Demos
NGINX and NGINX Plus demos
Stars: ✭ 799 (+13216.67%)
Mutual labels:  nginx
Docker Nginx Http3
Alpine Linux image with Nginx 1.19.4 (mainline) with HTTP/3 (QUIC), TLSv1.3, 0-RTT, brotli, NJS support, and 10 MB size. All built on the bleeding edge for max performance. Built on the edge, for the edge.
Stars: ✭ 820 (+13566.67%)
Mutual labels:  nginx
Learn Nginx
Nginx 入门指南
Stars: ✭ 728 (+12033.33%)
Mutual labels:  nginx
Httperrorpages
⏩ Simple HTTP Error Page Generator
Stars: ✭ 772 (+12766.67%)
Mutual labels:  nginx
Medusa
🐈Medusa是一个红队武器库平台,目前包括扫描功能(200+个漏洞)、XSS平台、协同平台、CVE监控等功能,持续开发中 http://medusa.ascotbe.com
Stars: ✭ 796 (+13166.67%)
Mutual labels:  nginx
Zaver
Yet another fast and efficient HTTP server
Stars: ✭ 673 (+11116.67%)
Mutual labels:  nginx
Docker Nginx Php5 Laravel5
A Dockerfile which produces a docker image that runs Ubuntu 14.04, Nginx, PHP5 for Laravel 5.
Stars: ✭ 5 (-16.67%)
Mutual labels:  nginx
Images
Source code of images.weserv.nl, to be used on your own server(s).
Stars: ✭ 798 (+13200%)
Mutual labels:  nginx
Awesome Nginx
A curated list of awesome Nginx distributions, 3rd party modules, Active developers, etc.
Stars: ✭ 811 (+13416.67%)
Mutual labels:  nginx
Ngxtop
Real-time metrics for nginx server
Stars: ✭ 6,246 (+104000%)
Mutual labels:  nginx
Hestiacp
Hestia Control Panel | A lightweight and powerful control panel for the modern web.
Stars: ✭ 764 (+12633.33%)
Mutual labels:  nginx
Huststore
High-performance Distributed Storage
Stars: ✭ 806 (+13333.33%)
Mutual labels:  nginx
Theme.park
A collection of themes/skins for your favorite apps.
Stars: ✭ 714 (+11800%)
Mutual labels:  nginx
K8s Elk Demo
A simple demonstration of the ELK stack on a Kubernetes cluster
Stars: ✭ 5 (-16.67%)
Mutual labels:  nginx
Ceryx
Dynamic reverse proxy based on NGINX OpenResty with an API
Stars: ✭ 688 (+11366.67%)
Mutual labels:  nginx
Modsecurity Nginx
ModSecurity v3 Nginx Connector
Stars: ✭ 805 (+13316.67%)
Mutual labels:  nginx
Dockerfiles
Dockerfiles I create that may or may not be useful.
Stars: ✭ 5 (-16.67%)
Mutual labels:  nginx
Netboot Httpd
Docker container for serving netboot image over http. Use in combination with BSDPy
Stars: ✭ 5 (-16.67%)
Mutual labels:  nginx
Nginx Docs
Nginx 中文文档. Chinese translation of Nginx documentation.
Stars: ✭ 809 (+13383.33%)
Mutual labels:  nginx

Amazon Linux Scripts by @iDoMeteor/@iDoAWS

TL;DR

A set of scripts for creating Nginx/Passenger virtual host files for Node/Meteor as well as bundling, transferring and deploying Meteor applications.

Written for use on my Amazon Linux 03.06 Node/Meteor Server but should work on most standard distros.

Scripts Included

Server scripts:

  • meteor-add-vhost-clone-and-deploy.sh
  • meteor-bundle-and-deploy.sh
  • meteor-unbundle-and-deploy.sh
  • nginx-add-meteor-vhost.sh
  • nginx-add-node-vhost.sh

Remote scripts:

  • meteor-add-vhost-send-and-deploy.sh
  • meteor-bundle-and-send.sh

Coming Soon:

  • install-gitlab
  • mongo-backup-full-db
  • mongo-backup-user-db
  • mongo-restore-full-db
  • mongo-restore-user-db
  • route53-add-domains
  • route53-delete-domains
  • route53-list-domains
  • route53-list-records

The easy way to remember to remember which to run where?

If it has 'send' in the name, then it should not be run from the server because it wouldn't have to send anything anywhere! :)

All scripts output usage info if you run them without any arguments.

You must read the header comments in each script for a detailed description of what they do and what arguments they take.

meteor-add-vhost-clone-and-deploy.sh

Environment: Server

  • Runs nginx-add-meteor-vhost
  • Changes to the new user
  • Clones the given repository or pulls from the default remote
  • Bundles the application
  • Deploys the app in the user's ~/www
  • Offers to restart services

meteor-add-vhost-send-and-deploy.sh

Environment: Developer

  • Runs nginx-add-meteor-vhost on the server
  • Bundles the local application
  • Sends it to the new user's account
  • Runs meteor-unbundle-and-deploy

meteor-bundle-and-deploy.sh

Environment: Server

  • Bundles the application
  • Deploys the app in the user's ~/www
  • Saves previous ~/www/bundle to ~/www/bundle.old
  • Offers to restart services

meteor-bundle-and-send.sh

Environment: Developer

  • Bundles the local application
  • Sends it to the new user's account
  • Runs meteor-unbundle-and-deploy

meteor-unbundle-and-deploy.sh

Environment: Server

  • Unbundles the application
  • Deploys the app in the user's ~/www
  • Saves previous ~/www/bundle to ~/www/bundle.old
  • Offers to restart services

nginx-add-meteor-vhost.sh

Environment: Server

  • Creates an Nginx/Passenger/Node 0.10.4x/Meteor virtual host .conf file in /etc/nginx/sites-available
  • Creates a symbolic link to the above file in /etc/nginx/sites-enabled
  • Gives the user a Mongo database @ localhost:27017/
  • Restarts Nginx

nginx-add-node-vhost.sh

Environment: Server

  • Creates an Nginx/Passenger/Node 5.x virtual host .conf file in /etc/nginx/sites-available
  • Creates a symbolic link to the above file in /etc/nginx/sites-enabled
  • Restarts Nginx

TODO

route53-add-domain

route53-add-domain

route53-delete-domain

route53-list-domains

route53-list-records

Feedback

I love feedback & comments on Twitter via @iDoAWS or @iDoMeteor. Bug reports and feature requests can be submitted via Github issues.

For private communique, hit me up @ Gmail.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].