The Cloud

and

Rackspace developer+

Everett Toews @everett_toews

Agenda

  1. The Cloud
  2. OpenStack
  3. Rackspace
  4. developer+
  5. Start a Server

Agenda

  1. Secure a Server
  2. Deploy an App
  3. Next Steps
  4. Q & A

The Cloud

IaaS

Private

Public

Infrastructure

with an API

OpenStack

"To produce the ubiquitous Open Source Cloud Computing platform that will meet the needs of public and private clouds regardless of size, by being simple to implement and massively scalable."

Compute

(Nova)

Dashboard

(Horizon)

HTTP API

Rackspace

"To be recognized as one of the world's greatest service companies."

And more:

  • Managed Cloud
  • Load Balancers
  • Auto Scale
  • Monitoring
  • Backup
  • Metrics
  • Feeds
  • OnMetal (Ironic)
  • Cloud DNS (Designate)
  • Cloud CDN (Poppy)
  • Cloud Keep (Barbican)

HTTP API

developer+

$50/month credit

for 12 months

Over $50/month

you get charged

Meter starts running

on resource creation

1 GB General Purpose

Server for 1 month

< $25

rackspace.com/calculator

(ignore Service Level)

Delete unused

resources!

developer.rackspace.com

developer.rackspace.com/signup/

Start a Server

mycloud.rackspace.com

Secure a Server

Login


ssh -i .ssh/id_rsa root@my.server.ipv4.address
          

Run secure.sh


wget https://raw.githubusercontent.com/everett-toews/rackspace-developer-doubleplusgood/gh-pages/scripts/secure.sh
chmod u+x secure.sh
./secure.sh
          

Review secure.sh

Login again


ssh -i .ssh/id_rsa NON_ROOT_USER@my.server.ipv4.address
          

Deploy an App

Get Tools


sudo apt-get -y install git python-pip python-virtualenv
virtualenv my-venv
source my-venv/bin/activate
          

/u/icanlegothat


git clone https://github.com/MDamien/legoit.git
cd legoit
pip install -r requirements.txt
python manage.py migrate
python manage.py retrieve_data
python manage.py runserver
          

my.server.ipv4.address:8000

ERR_CONNECTION_TIMED_OUT

Open Port 8000


[Ctrl-C]
sudo ufw allow 8000
python manage.py runserver 0.0.0.0:8000
          

Next Steps

Use nginx as the web server

Use PostgreSQL as the DB

Use Bootstrap to make it look nice

Docker?

Thanks!

Q & A

rack.to/utaustin

Sage Advice

YMWV

Attitude > Tech

Attitude

Learn

Internalize internalize

Keep good notes

Document

Meetups

Conferences

Hackathons

(HackTX)

Diversity

Freelance

Tech

Ops

Chat & ChatOps

CI/CD

VCS

Code Review

Documentation

Issues

Testing

Coverage

Agile

More...

Get a Job

Resume

GitHub

OSS

Portfolio

Expectations

Training/Mentoring

Internships