Sebastien Goasguen,
@sebgoa
AWS and GCE
interface
Reminder
CloudStack Collaboration Conference:
Vegas, Santa-Clara, Amsterdam
Denver April 9-11th.
Rumors of CCC EU in Novem...
Get Involved with Apache
CloudStack
Web: http://cloudstack.apache.org/
Mailing Lists: cloudstack.apache.org/mailing-lists....
Ecosystem and API …
AWS and GCE interface
Ecosystem
Contributing to Apache CloudStack
API
Interfaces and standards
GCE Interface
GCE
December 2nd 2013, GCE became Generally
Available
https://cloud.google.com/events/google-cloud-platform-live/
gstack
Example
$ ./gcutil --cached_flags_file=~/.gcutil_params --project=ian@ianduffy.ie listmachinetypes
Items in zone/CH-GV2:
+...
Example
$ ./gcutil --cached_flags_file=~/.gcutil_params --project=ian@ianduffy.ie
addfirewall ssh --allowed=tcp:22
$ ./gcu...
Example
$ ./gcutil --cached_flags_file=~/.gcutil_params --project=ian@ianduffy.ie
addinstance foobar
Selecting the only av...
Example
$ ./gcutil --cached_flags_file=~/.gcutil_params --project=ian@ianduffy.ie listinstances
Items in zone/CH-GV2:
+---...
AWS Interface
Native AWS interface
• EC2 really
• Java application with axis
$service cloudstack-awsapi start
Bit of a pain for packagin...
Aim
• Remove AWSAPI
• Simplify packaging and build
• Have an interface easier to maintain and
extend
• Add other services ...
ec2stack
API coverage…33%
def _get_action(action):
actions = {
'AttachVolume': volumes.attach_volume,
'AuthorizeSecurityGroupEgress...
Usage
$aws ec2 describe-images --endpoint=http://localhost:5000
$aws ec2 describe-key-pairs --endpoint=http://localhost:50...
AWS Cloud Formation
Conclusions
Conclusions
• CloudStack API rocks
• Ecosystem is vibrant
If you want hybrid cloud check:
• GCE interface
• AWS interface
...
Cloudstack interfaces to EC2 and GCE
Cloudstack interfaces to EC2 and GCE
Upcoming SlideShare
Loading in...5
×

Cloudstack interfaces to EC2 and GCE

926

Published on

Sebastiens talk on Cloudstack interfaces to EC2 and GCE

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
926
On Slideshare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
10
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Cloudstack interfaces to EC2 and GCE

  1. 1. Sebastien Goasguen, @sebgoa AWS and GCE interface
  2. 2. Reminder CloudStack Collaboration Conference: Vegas, Santa-Clara, Amsterdam Denver April 9-11th. Rumors of CCC EU in November in Budapest Events
  3. 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. 4. Ecosystem and API … AWS and GCE interface
  5. 5. Ecosystem Contributing to Apache CloudStack
  6. 6. API
  7. 7. Interfaces and standards
  8. 8. GCE Interface
  9. 9. GCE December 2nd 2013, GCE became Generally Available https://cloud.google.com/events/google-cloud-platform-live/
  10. 10. gstack
  11. 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. 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. 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. 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. 15. AWS Interface
  16. 16. Native AWS interface • EC2 really • Java application with axis $service cloudstack-awsapi start Bit of a pain for packaging and build
  17. 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. 18. ec2stack
  19. 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. 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. 21. AWS Cloud Formation
  22. 22. Conclusions
  23. 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
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×