1.5 KiB
1.5 KiB
AWS Declarative Provision via scripts & templates
Part of Cloud Native zone Provision
Requirements
Install Python
For Ubuntu
sudo apt install wget build-essential libncursesw5-dev libssl-dev \
libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt install python3.13
sudo apt-get -y install python3-pip
Install Jinja2 engine
pip3 install Jinja2
Install Python YAML
pip3 install PyYAML
apt install jq
How To
- For private network ID in same zone/region, for example:
-
Complete a settings.yaml using setttings.yaml file as model (vars and values are commented as help)
-
Use command on_aws_server
on_aws_server will use parsertemplate.py to load settings.yaml as data It will generate aws CLI commands to create resources