Cloudstack interfaces to EC2 and GCE

  • 813 views
Uploaded on

Sebastiens talk on Cloudstack interfaces to EC2 and GCE

Sebastiens talk on Cloudstack interfaces to EC2 and GCE

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
813
On Slideshare
0
From Embeds
0
Number of Embeds
4

Actions

Shares
Downloads
4
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Sebastien Goasguen, @sebgoa AWS and GCE interface
  • 2. Reminder CloudStack Collaboration Conference: Vegas, Santa-Clara, Amsterdam Denver April 9-11th. Rumors of CCC EU in November in Budapest Events
  • 3. Get Involved with Apache CloudStack Web: http://cloudstack.apache.org/ Mailing Lists: cloudstack.apache.org/mailing-lists.html IRC: irc.freenode.net: 6667 #cloudstack #cloudstack-dev Twitter: @cloudstack LinkedIn: www.linkedin.com/groups/CloudStack-Users-Group-3144859 If it didn’t happen on the mailing list, it didn’t happen.
  • 4. Ecosystem and API … AWS and GCE interface
  • 5. Ecosystem Contributing to Apache CloudStack
  • 6. API
  • 7. Interfaces and standards
  • 8. GCE Interface
  • 9. GCE December 2nd 2013, GCE became Generally Available https://cloud.google.com/events/google-cloud-platform-live/
  • 10. gstack
  • 11. Example $ ./gcutil --cached_flags_file=~/.gcutil_params --project=ian@ianduffy.ie listmachinetypes Items in zone/CH-GV2: +-------------+--------------------------+--------+------+-----------+----------------------+---------+----------------------+-------------+ | name | description | zone | cpus | memory-mb | scratch-disk-size-gb | max-pds | max-total-pd-size- gb | deprecation | +-------------+--------------------------+--------+------+-----------+----------------------+---------+----------------------+-------------+ | Micro | Micro 512mb 1cpu | CH-GV2 | 1 | 512 | | | | | | Tiny | Tiny 1024mb 1cpu | CH-GV2 | 1 | 1024 | | | | | | Small | Small 2048mb 2cpu | CH-GV2 | 2 | 2048 | | | | |
  • 12. Example $ ./gcutil --cached_flags_file=~/.gcutil_params --project=ian@ianduffy.ie addfirewall ssh --allowed=tcp:22 $ ./gcutil --cached_flags_file=~/.gcutil_params --project=ian@ianduffy.ie getfirewall ssh
  • 13. Example $ ./gcutil --cached_flags_file=~/.gcutil_params --project=ian@ianduffy.ie addinstance foobar Selecting the only available zone: CH-GV2 1: Extra-large Extra-large 16384mb 4cpu 2: Huge Huge 32184mb 8cpu 3: Large Large 8192mb 4cpu 4: Medium Medium 4096mb 2cpu 5: Micro Micro 512mb 1cpu 6: Small Small 2048mb 2cpu 7: Tiny Tiny 1024mb 1cpu
  • 14. Example $ ./gcutil --cached_flags_file=~/.gcutil_params --project=ian@ianduffy.ie listinstances Items in zone/CH-GV2: +--------+--------------+-------------------------+--------+---------+---------------+---------------+-------+--------+---------+--- -------------+ | name | machine-type | image | kernel | network | network-ip | external-ip | disks | zone | status | status-message | +--------+--------------+-------------------------+--------+---------+---------------+---------------+-------+--------+---------+--- -------------+ | foobar | Micro | Linux CentOS 6.4 64-bit | | default | 185.19.28.146 | 185.19.28.146 | | CH- GV2 | RUNNING | | +--------+--------------+-------------------------+--------+---------+---------------+---------------+-------+--------+---------+--- -------------+
  • 15. AWS Interface
  • 16. Native AWS interface • EC2 really • Java application with axis $service cloudstack-awsapi start Bit of a pain for packaging and build
  • 17. Aim • Remove AWSAPI • Simplify packaging and build • Have an interface easier to maintain and extend • Add other services in addition to EC2 http://buildacloud.org/blog/321-new-ec2-interface-to-cloudstack.html
  • 18. ec2stack
  • 19. API coverage…33% def _get_action(action): actions = { 'AttachVolume': volumes.attach_volume, 'AuthorizeSecurityGroupEgress': security_groups.authenticate_security_group_egress, 'AuthorizeSecurityGroupIngress': security_groups.authenticate_security_group_ingress, 'CreateKeyPair': keypairs.create_keypair, 'CreateSecurityGroup': security_groups.create_security_group, 'CreateVolume': volumes.create_volume, 'DeleteKeyPair': keypairs.delete_keypair, 'DeleteSecurityGroup': security_groups.delete_security_group, 'DeleteVolume': volumes.delete_volume, 'DescribeAvailabilityZones': zones.describe_zones, 'DescribeImageAttribute': images.describe_image_attribute, 'DescribeImages': images.describe_images, 'DescribeInstanceAttribute': instances.describe_instance_attribute, 'DescribeInstances': instances.describe_instances, 'DescribeKeyPairs': keypairs.describe_keypairs,
  • 20. Usage $aws ec2 describe-images --endpoint=http://localhost:5000 $aws ec2 describe-key-pairs --endpoint=http://localhost:5000 $aws ec2 create-key-pair --endpoint=http://localhost:5000 --key-name=test
  • 21. AWS Cloud Formation
  • 22. Conclusions
  • 23. Conclusions • CloudStack API rocks • Ecosystem is vibrant If you want hybrid cloud check: • GCE interface • AWS interface • Expect better API coverage by this summer. Insert Presentation Title Here