Ams+Dm Server+Ec2

827 views

Published on

A presentation for JFall 2008. Light outline of SpringSource management strategy. Jennifer Hickey did a presentation with more details on AMS at SpringOne US.

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

  • Be the first to like this

No Downloads
Views
Total views
827
On SlideShare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
16
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Ams+Dm Server+Ec2

  1. 1. Managing Enterprise applications on EC2 applications on EC2 Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
  2. 2. Agenda <ul><li>Overview </li></ul><ul><li>Proposed architecture </li></ul><ul><li>Node configuration </li></ul><ul><li>Running the system </li></ul><ul><li>Future </li></ul><ul><li>Summary </li></ul>Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
  3. 3. What’s a cloud anyway? Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited. The cloud is a metaphor for the Internet (..) and is an abstraction for the complex infrastructure it conceals. It is a style of computing in which IT-related capabilities are provided “as a service” , allowing users to access technology-enabled services from the Internet &quot;in the cloud&quot; without knowledge of, expertise with, or control over the technology infrastructure that supports them. Wikipedia:
  4. 4. Virtualization <ul><li>Decouple operating systems from actual hardware </li></ul><ul><li>Provide virtual equivalents for hardware resources </li></ul><ul><li>Using a virtual machine is no different from using a real machine to the user </li></ul>Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
  5. 5. EC2 Reminder Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited. Files and manifest needed to start a virtual machine on EC2 An instance of an AMI running on the Elastic Compute Cloud
  6. 6. Tooling Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
  7. 7. Relations overview Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
  8. 8. Agenda <ul><li>Overview </li></ul><ul><li>Proposed architecture </li></ul><ul><li>Node configuration </li></ul><ul><li>Running the system </li></ul><ul><li>Future </li></ul><ul><li>Summary </li></ul>Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
  9. 9. Hide your internals <ul><li>By default the instances can only be reached on port 22 </li></ul><ul><li>Same Security Group => Full network access </li></ul><ul><li>Only PKA as root </li></ul><ul><li>Unlock only the door where your guards are at </li></ul>Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
  10. 10. Architecture Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
  11. 11. Agenda <ul><li>Overview </li></ul><ul><li>Proposed architecture </li></ul><ul><li>Node configuration </li></ul><ul><li>Running the system </li></ul><ul><li>Future </li></ul><ul><li>Summary </li></ul>Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
  12. 12. AMS server <ul><li>Pre-installed AMS server with default configuration </li></ul><ul><ul><li>default user/pass </li></ul></ul><ul><ul><li>default locations </li></ul></ul><ul><ul><li>built in database </li></ul></ul><ul><li>Server is started on boot </li></ul><ul><li>After instance startup the server is ready to auto discover servers and applications </li></ul>Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
  13. 13. dm Server + Agent <ul><li>dm Server (EE) started on boot </li></ul><ul><li>agent dynamically configured on boot </li></ul><ul><ul><li>passing in AMS server host as user data </li></ul></ul><ul><li>agent started on boot </li></ul><ul><li>Agent registers at AMS server </li></ul><ul><li>AMS auto-discovers dm Server </li></ul>Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
  14. 14. How lazy can we be? <ul><li>You only need to: </li></ul><ul><ul><li>start the AMS server </li></ul></ul><ul><ul><li>copy the private dns name </li></ul></ul><ul><ul><li>start the dm Server </li></ul></ul>Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
  15. 15. Instances in the demo Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
  16. 16. Agenda <ul><li>Overview </li></ul><ul><li>Proposed architecture </li></ul><ul><li>Node configuration </li></ul><ul><li>Running the system </li></ul><ul><li>Future </li></ul><ul><li>Summary </li></ul>Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
  17. 17. DEMO 1 <ul><li>Start the AMS server </li></ul>Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
  18. 18. DEMO 2 <ul><li>Start the dm Server </li></ul>Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
  19. 19. DEMO 3 <ul><li>Auto discover </li></ul>Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
  20. 20. Agenda <ul><li>Overview </li></ul><ul><li>Proposed architecture </li></ul><ul><li>Node configuration </li></ul><ul><li>Running the system </li></ul><ul><li>Future </li></ul><ul><li>Summary </li></ul>Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
  21. 21. Load balancing <ul><li>Classic load balancer </li></ul><ul><li>But easier to add app servers behind it </li></ul><ul><li>A few samples exist </li></ul>Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
  22. 22. Autoscaling (1/2) <ul><li>A system that allocates more resources when it needs them </li></ul><ul><li>By a node asking for help </li></ul><ul><li>Or a load balancer asking for extra capacity based on the total load </li></ul>Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
  23. 23. Autoscaling (2/2) <ul><li>Increased load is not always a good reason to up the capacity </li></ul><ul><ul><li>DDoS </li></ul></ul><ul><ul><li>slashdotting </li></ul></ul><ul><li>Give the developer autoscaling controls so that application can make scaling decisions based on business logic </li></ul>Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
  24. 24. Agenda <ul><li>Overview </li></ul><ul><li>Proposed architecture </li></ul><ul><li>Node configuration </li></ul><ul><li>Running the system </li></ul><ul><li>Future </li></ul><ul><li>Summary </li></ul>Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
  25. 25. Summary <ul><li>With the right tools you can easily </li></ul><ul><ul><li>Host your apps in the cloud </li></ul></ul><ul><ul><li>Manage a cube of instances </li></ul></ul><ul><ul><li>Automatically discover starting instances </li></ul></ul><ul><li>Useful applications beyond the buzz </li></ul><ul><li>Look out for auto scaling applications </li></ul>Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
  26. 26. Questions? Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.

×