Openstack meetup heat-nov23
-
Upload
swapnil-kulkarni -
Category
Technology
-
view
771 -
download
0
Transcript of Openstack meetup heat-nov23
Swapnil Kulkarni
ATC, Openstack Foundation
IRC : coolsvap@freenode
• Heat - Project Overview
• Heat Templates
• Heat Application Definition/Software Config
• Providers & Environments
• HOT & Autoscaling
• Icehouse Roadmap
Compute (Nova)
Glance
(Image Store)
Instance - cloud-init - cfn-init - cfn-hup
-cfn-push-stats
Network (Neutron)
Block Storage (Cinder)
Object Storage (Swift)
Orchestration (Heat)
Stack/Resource Templates
Metrics/Alarms (Ceilometer)
User Portal (Horizon)
Identity (Keystone)
Heat comprises a number of Python applications:
heat
heat-api
heat-api-cfn
heat-engine
Currently aligned with AWS CloudFormation
template format
Work in-progress to add a new superset native DSL
Converts either a JSON or YAML template into an
OpenStack cloud application
Parameters
Mappings
Resources
Outputs
Lifecycle operations
Introspection Operations
Template Operations
Parameters:
ssh_key_name:
Type: String
Description: ssh keypair name
image_name:
Type: String
Description: The image to boot
Mappings:
my_vol:
Type: OS::Cinder::Volume
Properties:
size: 20
image: {"Ref": "image_name"}
Resources:
my_server:
Type: OS::Nova::Server
Properties:
flavor: m1.small
key_name: {"Ref": "ssh_key"}
block_device_mapping:
device_name: vda
volume_id: {"Ref": "my_vol"}
Outputs:
server_ip:
Description: The server IP
Value: {"Fn::GetAtt":
["my_server",
"first_address"]}
Block Storage
Object Storage
LaunchConfig
Load Balancer DB
AutoScaling InstanceGroup HA
Network definition (EIP, VPC, Quantum,
SecurityGroups)
App Portal
OS::Ceilometer::Alarm OS::Cinder::Volume OS::Cinder::VolumeAttachment OS::Heat::AccessPolicy OS::Heat::CWLiteAlarm OS::Heat::HARestarter OS::Heat::InstanceGroup OS::Neutron::Firewall OS::Neutron::FirewallPolicy OS::Neutron::FirewallRule OS::Neutron::FloatingIP OS::Neutron::FloatingIPAssociation OS::Neutron::HealthMonitor OS::Neutron::IKEPolicy OS::Neutron::IPsecPolicy OS::Neutron::IPsecSiteConnection OS::Neutron::LoadBalancer OS::Neutron::Net OS::Neutron::Pool OS::Neutron::Port OS::Neutron::Router OS::Neutron::RouterGateway OS::Neutron::RouterInterface OS::Neutron::Subnet OS::Neutron::VPNService OS::Nova::Server OS::Swift::Container
AWS::AutoScaling::AutoScalingGroup AWS::AutoScaling::LaunchConfiguration AWS::AutoScaling::ScalingPolicy AWS::CloudFormation::Stack AWS::CloudFormation::WaitCondition AWS::CloudFormation::WaitConditionHandle AWS::EC2::EIP AWS::EC2::EIPAssociation AWS::EC2::Instance AWS::EC2::InternetGateway AWS::EC2::NetworkInterface AWS::EC2::RouteTable AWS::EC2::SecurityGroup AWS::EC2::Subnet AWS::EC2::SubnetRouteTableAssocation AWS::EC2::Volume AWS::EC2::VolumeAttachment AWS::EC2::VPC AWS::EC2::VPCGatewayAttachment AWS::ElasticLoadBalancing::LoadBalancer AWS::IAM::AccessKey AWS::IAM::User AWS::RDS::DBInstance AWS::S3::Bucket
Developing HOT DSL further
Native in-instance tools
Template-function plugins
Software configuration resources
More native resource types
#heat on Freenode
meeting every Wednesday at 2000 UTC in
#openstack-meeting on Freenode