chandnipateltw / basic-aws-infrastructure Goto Github PK
View Code? Open in Web Editor NEWGolden Copy to help you set up a basic AWS environment with an EMR cluster behind a VPC.
Golden Copy to help you set up a basic AWS environment with an EMR cluster behind a VPC.
Currently Airflow deployment is not automated.
The script ./scripts/bootstrap_rds.sh $TRAINING_COHORT airflow
is not running correctly because tries to instantiate with default subnet group, but it's not MultiAZ. Therefore, terraform training_airflow is not in included in the instructions for starting the environment.
This are the temporal instructions to deploy it manually:
Create a temporary new subnet group for RDS with the name: ${COHORT}-bootstrap-db-subnet-group. When creating make sure to add it at least two subnets in different availability zones
Run the following script to create bootstrap db:
./scripts/bootstrap_rds.sh $TRAINING_COHORT airflow
Note: The password is saved in Parameter store for future use.
./scripts/run_terraform.sh $TRAINING_COHORT training_airflow apply -input=false -auto-approve;
yum groupinstall “Development tools”
yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel python-devel wget cyrus-sasl-devel.x86_64
yum -y install python-pip
pip install apache-airflow[postgres,s3]
postgresql://airflow:YOURPASSWORD@YOURRDSSERVER:5432/airflow?sslmode=require
airflow initdb
airflow scheduler -D
airflow webserver -D
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.