Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup in AWS using A Cloud Guru for a playground #26

Open
matthoff11 opened this issue Mar 31, 2023 · 1 comment
Open

Setup in AWS using A Cloud Guru for a playground #26

matthoff11 opened this issue Mar 31, 2023 · 1 comment

Comments

@matthoff11
Copy link

Launch an Ubuntu 22.04 instance in AWS, ssh in using the pem file then start the config.
sudo apt update
sudo apt install -y python3-pip
sudo apt install ansible python3-jmespath
sudo apt install awscli
aws configure
git clone https://github.com/book-of-kubernetes/examples.git
vim examples/setup/roles/aws-instances/defaults/main.yaml
fix the image type seen in other posts, the ubuntu server should use a wildcard.
cd examples/setup
ansible-galaxy collection install -r collections/requirements.yaml
pip3 install -r requirements.txt
pip3 install -r collections/ansible_collections/amazon/aws/requirements.txt

change to chapter and run aws-setup and playbook

@matthoff11
Copy link
Author

seem to be some issues with ansible, this may help someone else:

sudo apt remove ansible
sudo apt --purge autoremove
sudo apt -y install software-properties-common
sudo apt-add-repository ppa:ansible/ansible
sudo apt install ansible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant