Managing Enterprise applications on EC2 applications on EC2 Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
Agenda
Overview
Proposed architecture
Node configuration
Running the system
Future
Summary
Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
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 "in the cloud" without knowledge of, expertise with, or control over the technology infrastructure that supports them. Wikipedia:
Virtualization
Decouple operating systems from actual hardware
Provide virtual equivalents for hardware resources
Using a virtual machine is no different from using a real machine to the user
Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
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
Tooling Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
Relations overview Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
Agenda
Overview
Proposed architecture
Node configuration
Running the system
Future
Summary
Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
Hide your internals
By default the instances can only be reached on port 22
Same Security Group => Full network access
Only PKA as root
Unlock only the door where your guards are at
Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
Architecture Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
Agenda
Overview
Proposed architecture
Node configuration
Running the system
Future
Summary
Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
AMS server
Pre-installed AMS server with default configuration
default user/pass
default locations
built in database
Server is started on boot
After instance startup the server is ready to auto discover servers and applications
Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
dm Server + Agent
dm Server (EE) started on boot
agent dynamically configured on boot
passing in AMS server host as user data
agent started on boot
Agent registers at AMS server
AMS auto-discovers dm Server
Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
How lazy can we be?
You only need to:
start the AMS server
copy the private dns name
start the dm Server
Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
Instances in the demo Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
Agenda
Overview
Proposed architecture
Node configuration
Running the system
Future
Summary
Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
DEMO 1
Start the AMS server
Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
DEMO 2
Start the dm Server
Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
DEMO 3
Auto discover
Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
Agenda
Overview
Proposed architecture
Node configuration
Running the system
Future
Summary
Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
Load balancing
Classic load balancer
But easier to add app servers behind it
A few samples exist
Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
Autoscaling (1/2)
A system that allocates more resources when it needs them
By a node asking for help
Or a load balancer asking for extra capacity based on the total load
Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
Autoscaling (2/2)
Increased load is not always a good reason to up the capacity
DDoS
slashdotting
Give the developer autoscaling controls so that application can make scaling decisions based on business logic
Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
Agenda
Overview
Proposed architecture
Node configuration
Running the system
Future
Summary
Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
Summary
With the right tools you can easily
Host your apps in the cloud
Manage a cube of instances
Automatically discover starting instances
Useful applications beyond the buzz
Look out for auto scaling applications
Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
Questions? Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
A presentation for JFall 2008. Light outline of Spr more
A presentation for JFall 2008. Light outline of SpringSource management strategy. Jennifer Hickey did a presentation with more details on AMS at SpringOne US. less
0 comments
Post a comment