Code Monkey home page Code Monkey logo

packet-openstack-demos's Introduction

packet-openstack-demos

Deploying OpenStack on "Packet.Net" bare metal hosting using Terraform

I'm using RedHat's RDO QuickStart (https://www.rdoproject.org/install/quickstart/)

This QuickStart will get a demo OpenStack environment running on baremetal hosting as provided by http://packet.Net

No need to repurpose old hardware and you won't have to tidy your garage.

N.B. These instruction were made on Mac, and should run with no changes in Linux. Windows should be awesome too, but you're on your own for that gig. (anyone who gets this working on a Windows client, please feel free to send the instructions for me to update this)

Pre-requisites

export TF_VAR_packet_auth_token=YOUR_API_TOKEN_HERE
mkdir stuffz
cd stuffz
git clone https://github.com/jimleitch01/packet-openstack-demos.git
cd packet-openstack-demos/baremetal

User "terraform plan" to check for syntax errors

terraform plan

No errors ? All set ! This will take about 20 minutes

time terraform apply

All done ? Ok, let's get logged in

This will output your admin user password:

ssh root@$(terraform show | grep network.0.address | awk '{print $3}') cat keystonerc_admin | grep PASSWORD | cut -f2 -d"="

This will output your demo user password:

ssh root@$(terraform show | grep network.0.address | awk '{print $3}') cat keystonerc_demo | grep PASSWORD | cut -f2 -d"="

If you are on Mac, open the OpenStack admin page like this:

open -a Safari http://$(terraform show | grep network.0.address | awk '{print $3}')

For any other OS paste this URL into your favorite browser:

echo http://$(terraform show | grep network.0.address | awk '{print $3}')

Ready To Rock !!!

You can now play around to your heart's content.

make sure to kill your hosts when you are done:

terraform destroy

Next steps

  • Multi Node OpenStack
  • Fully Populated CI/CD environment
  • Take a well deserved break

packet-openstack-demos's People

Contributors

bogardius avatar jimleitch01 avatar johnstudarus avatar vielmetti avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.