This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Install docker | |
apt-get update | |
apt-get install -y cloud-utils apt-transport-https ca-certificates curl software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
add-apt-repository \ | |
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \ | |
$(lsb_release -cs) \ | |
stable" | |
apt-get update |
The following guide includes all steps needed to install a Jenkins Server on AWS EC2 (Ubuntu 16.04 LTS), using NGINX as proxy with custom tld
- Set up EC2 instance
- Selected type: t2.micro (1GB) (for this example, you can choose any type)
- AMI: Ubuntu 16.04 LTD 64bits (AWS AMI repository)
- 20GB SSD storage
- Security Group: Opened (inbound) for web ports: 80, 443 and 22
I hereby claim:
- I am gonzaloplaza on github.
- I am gonzaloplaza (https://keybase.io/gonzaloplaza) on keybase.
- I have a public key whose fingerprint is 0694 A58A B74D 23BE E80E D16D ED80 4497 7A60 8C65
To claim this, I am signing this object: