Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/osama-yusuf/devops-task-1
a task to create presentation to convince the management of AWS then create a POC
https://github.com/osama-yusuf/devops-task-1
ansible devops jenkins kubernetes terraform
Last synced: about 1 month ago
JSON representation
a task to create presentation to convince the management of AWS then create a POC
- Host: GitHub
- URL: https://github.com/osama-yusuf/devops-task-1
- Owner: Osama-Yusuf
- License: mit
- Created: 2022-10-12T21:35:53.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-12T21:38:19.000Z (over 2 years ago)
- Last Synced: 2024-11-07T17:55:18.370Z (3 months ago)
- Topics: ansible, devops, jenkins, kubernetes, terraform
- Language: Shell
- Homepage:
- Size: 1.13 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DevOps Task
## First Challenge - Has a powerpoint presenting:
- ### How to optimize and save IT costs and lower aws services costs
- ### And some of the benfits of CI/CD & Release Automation## Second Challenge:
1. ### Provision infrastructure using terraform then initialize the infrastructure & running jenkins on master node as a contianer using ansible
- #### Using script (k8s_init/hostname.sh) to provision 3 instances on aws then initialize the infrastructure using ansible using the following command:
```bash
bash k8s_init/hostname.sh
```
- #### After executing the script on your local machine you will get 3 instances on aws with the following names:
- #### master
- #### worker1
- #### worker2
2. ### Now after we have the infrastructure and jenkins ready open jenkins console on your browser:
```
http://:8080
```
### Then create a new pipeline & copy Jenkinsfile script then paste it in pipeline groovy script section then click on build now
### the pipeline will run and will create a docker image for the app then will deploy it on kubernetes cluster using:
- #### Deployment yaml file
- #### NodePort Service yaml file
## Now you can access the app on your browser using the following url:
```
http://:30007
```