05 - Cloud & IaaS Basics Handout
05 - Cloud & IaaS Basics Handout
BOOTCAMP Infrastructure as a
Service (IaaS)
Throughout the DevOps Bootcamp, we will install and configure
Instead of:
Company buys own server Delegate Infrastructure Management
You manage own servers and infrastructure Move your physical infrastructure to cloud
If something breaks, you need to fix it You just rent the servers on demand
Cloud Computing is the delivery of computing services - including servers, storage, databases,
networking, software - over the internet ("the cloud")
IaaS is 1 of 4 types of cloud services. Others: Software as a Service (SaaS), Platform as a Service (PaaS)
and Serverless
Infrastructure as a Service Providers
AWS most used one: Powerful, but complex (learn in later module)
Summary of Steps:
1. Pre-Requisite: Create DigitalOcean account (with new signup credits - free tier)
2. Configure SSH keys
3. Create a Droplet with Linux Ubuntu distribution
4. Open SSH port 22 on server using firewall configuration
5. SSH into the server using its public IP address
6. Install Java to run Java applications on it
Setup Server on DigitalOcean (DO) - 2
to run packaged java application (jar file)
To be able to access
any server on DO from
local computer using
SSH
Setup Server on DigitalOcean (DO) - 3
to run packaged java application (jar file)
Create a Droplet
Summary of Steps:
1. Build jar file
2. Copy to remote server
3. Run the application
Run packaged Java Application - 2
on prepared DigitalOcean server
Create separate Linux user on remote server (as you learned in Linux module)
Every cloud platform configuration for their remote servers is different
On droplet, per default you work with the "root" user
Create a new "admin" user
Using the "admin" user, create own users for each application you run (e.g. nexus,
jenkins, my-app)