Date post: | 15-Jul-2015 |
Category: |
Engineering |
Upload: | priti-desai |
View: | 405 times |
Download: | 0 times |
Me
• Part of Symantec since 2008
• STAR
– Reputation Based Technology
– Symantec Data Analytics Platform (now CPE)
• OpenStack Developer
• OpenStack Security Group
OpenStack 1012
Cloud is more than virtualization
• Virtualization is an integral part of cloud computing
– Virtualization allows to fully maximize the computing resources but it still requires a system administrator to provision the virtual machine for the end-users
– Virtualization itself does not provide the customer a self-service layer and without that layer you cannot deliver compute as a service.
• Cloud computing is about providing self-service to end users
– Architecture and tools to enable virtualization to be delivered as a service and virtualization is one possible service that could be delivered.
– Self-provision servers, applications and other resources
– Utility model similar to power or water – meter resources and pay for what is used
OpenStack 1014
What is OpenStack?
As described by the OpenStack Foundation:
“Open source software for creating
private and public clouds.”
OpenStack 1016
Why OpenStack?
• Standard– OpenStack is not a “cheap alternative” to proprietary, it is a dominant
standard as an IaaS.
• Compatible– Compatibility with public cloud makes it easy to migrate data and
applications to public/hybrid clouds.
• Proven– OpenStack today powers some of the largest public and private clouds in
the world.
OpenStack 1017
OpenStack Capabilities
• VMs on demand
– Provisioning
– Snapshotting
• Block/Object Storage
• Database as a Service
• Multi-tenancy - Tenant Isolation
OpenStack 1019
OpenStack History
Series (codename) Status Releases
… … …
Havana EOL 2013.2 (October, 2013)
IceHouse Security Supported 2014.1 (April, 2014)
Juno Current Stable 2014.2 (October, 2014)
Kilo Under Development Due (April, 2015)
OpenStack 10111
OpenStack Projects
OpenStack 10113
• Keystone (Identity Service)
• Nova (Compute Service)
• Glance (Image Service)
• Neutron (Network Service)
• Cinder (Block Storage Service)
• Swift (Object Storage Service)
• Horizon (Dashboard)
CPE Deployment Topology
OpenStack 10129
Control Cluster
Horizon Keystone NeutronNova Ctrl Glance
Compute ClusterCompute
Node
Compute Node
Compute Node
Compute Node
Compute Node
Compute Node
Storage Cluster (Swift)StorageNode
StorageNode
StorageNode
StorageNode
StorageNode
StorageNode
OpenStack Development Environment
OpenStack 10131
• Select a Linux Distribution
• Install selected OS
• Download DevStack– git clone https://github.com/openstack-dev/devstack.git -b stable/juno
• Configure– local.conf - OpenStack Repo, Install Directory, Logging Directory
• Start the install– cd devstack
– ./stack.sh
Launch a VM
OpenStack 10133
• Set environment:
– export OS_AUTH_URL=https://keystone.ash2.symcpe.net/v3
– export OS_USERNAME=priti_desai
– export OS_PASSWORD=<password>
– export OS_USER_DOMAIN_NAME=<domain name>
– export OS_PROJECT_DOMAIN_NAME=<domain name>
– export OS_PROJECT_NAME=<project name>
– export OS_IDENTITY_API_VERSION=3
Launch a VM
• Choose flavor:– openstack flavor list
• Choose Image:– openstack image list
• Choose Network:– openstack network show <private-network>
• Choose Security Group:– openstack security group list
• Create a VM– openstack server create –flavor=<flavor-id> –image=<image-id> --min=1 --max=1 --nic net-id=<net-id>--
security-group=<security-group> openstack-test-server
OpenStack 10134
Access VM
• List VM– openstack server list
• Create Floating IP– openstack ip floating create <public-network>
• Attach floating IP– openstack ip floating add <floating IP> <server>
• Logging into VM– Ping <floating IP>
– ssh root@<floating IP>
OpenStack 10135