28
Important Questions Moving to the Cloud (Or even splitting the environment) Stephen Wynkoop ([email protected]) SSWUG.ORG

Important Questions Moving to the Cloud (Or even splitting the environment) Stephen Wynkoop ( [email protected] )SSWUG.ORG

Embed Size (px)

Citation preview

Page 1: Important Questions Moving to the Cloud (Or even splitting the environment) Stephen Wynkoop ( swynk@sswug.org )SSWUG.ORG

Important Questions Moving to the Cloud

(Or even splitting the environment)

Stephen Wynkoop ([email protected])SSWUG.ORG

Page 2: Important Questions Moving to the Cloud (Or even splitting the environment) Stephen Wynkoop ( swynk@sswug.org )SSWUG.ORG

My Background• Databases– Early (very) Access– First version of SQL Server – Even dBase and other platforms

• Coding along the way, books, SSWUG.ORG

Page 3: Important Questions Moving to the Cloud (Or even splitting the environment) Stephen Wynkoop ( swynk@sswug.org )SSWUG.ORG

Agenda• Different, But the Same Approach• Lessons Learned Along the Way• Getting Started

Page 4: Important Questions Moving to the Cloud (Or even splitting the environment) Stephen Wynkoop ( swynk@sswug.org )SSWUG.ORG

Key To Success • Understand your application(s) and

environment.

No Kidding!

Page 5: Important Questions Moving to the Cloud (Or even splitting the environment) Stephen Wynkoop ( swynk@sswug.org )SSWUG.ORG

Important to Remember• Cloud resources are NOT an all or nothing

proposition.

Page 6: Important Questions Moving to the Cloud (Or even splitting the environment) Stephen Wynkoop ( swynk@sswug.org )SSWUG.ORG

Overall, Breaking Into Pieces• Functional• Security• Availability• Fault Tolerance

Sound familiar?

Environment

Page 7: Important Questions Moving to the Cloud (Or even splitting the environment) Stephen Wynkoop ( swynk@sswug.org )SSWUG.ORG

Functional Considerations• Understand the application– What storage requirements are there?– What type of security is needed?– Recovery?– Processing – and what types • Reporting, transactional, etc.

– Spikes – elasticity in demand/requirements

Page 8: Important Questions Moving to the Cloud (Or even splitting the environment) Stephen Wynkoop ( swynk@sswug.org )SSWUG.ORG

Functionality – Questions #1• Usage patterns – “When is the application used,

are there spikes or critical periods?”• Authentication – “Beyond login, are there other

authentication requirements? Think single sign-on, or application roles/logins.”

• 3rd Party Apps – “What are the interface requirements?”

Page 9: Important Questions Moving to the Cloud (Or even splitting the environment) Stephen Wynkoop ( swynk@sswug.org )SSWUG.ORG

Functionality – Questions #2• Usage – “What comes out of the front-end

inputs?” (reporting, exports, sharing)• Recovery – “What is acceptable downtime?”

and “What is the downtime process?”

Page 10: Important Questions Moving to the Cloud (Or even splitting the environment) Stephen Wynkoop ( swynk@sswug.org )SSWUG.ORG

Security Considerations• Authentication• Data protection• Network segmentation• Data in transit, data in use, data at rest• Archived information• Information sharing/reporting

Page 11: Important Questions Moving to the Cloud (Or even splitting the environment) Stephen Wynkoop ( swynk@sswug.org )SSWUG.ORG

Security – Questions #1• General – “How are users authenticated?” –

this could be cards, UID/PW, etc.• Protection – “What regulatory bodies care

about this information?”– Remember, there may be multiples – HIPAA, PCI,

etc. plus simple best practices

Page 12: Important Questions Moving to the Cloud (Or even splitting the environment) Stephen Wynkoop ( swynk@sswug.org )SSWUG.ORG

Security – Questions #2• Segmentation – “Who will have access, and

why, and what protection is needed?” Firewalls, segmentation, VPN, etc.

• Protection – “Where does information go?” – protection of that information - encryption

• Sharing – “Who uses this information, how is it provided to them?”

Page 13: Important Questions Moving to the Cloud (Or even splitting the environment) Stephen Wynkoop ( swynk@sswug.org )SSWUG.ORG

Availability• Drives system sizing• Drives load balancing• Drives scale up and down• Drives associated resources, tool selection

This drives the entire environment “chain”

Page 14: Important Questions Moving to the Cloud (Or even splitting the environment) Stephen Wynkoop ( swynk@sswug.org )SSWUG.ORG

Availability Surprises• This was our biggest challenge area– Still is. Architecting correctly to support this is

challenging.• Physical System requirements• Logical System requirements• Application requirements• Oddities, licensing, support

Page 15: Important Questions Moving to the Cloud (Or even splitting the environment) Stephen Wynkoop ( swynk@sswug.org )SSWUG.ORG

Fault Tolerance• Determines functional components– Database, OS, app tools

• Determines failover requirements• Determines feature selection within tools and

platforms

Page 16: Important Questions Moving to the Cloud (Or even splitting the environment) Stephen Wynkoop ( swynk@sswug.org )SSWUG.ORG

Fault Tolerance – Questions #1• Application – “What happens when the application

“crashes” – what does recovery look like?” Process drives how you recover…

• Consider recovery like trauma – – What is the immediate assessment and action process?– What is the short term stop-gap process?– What is recovery like?– What is confirmed recovery?

Page 17: Important Questions Moving to the Cloud (Or even splitting the environment) Stephen Wynkoop ( swynk@sswug.org )SSWUG.ORG

Fault Tolerance – Questions #2• Understand – Transparent recovery vs. ‘please

wait’ – component approach can help OR HINDER fault tolerance. – Key: How do components interact?

Page 18: Important Questions Moving to the Cloud (Or even splitting the environment) Stephen Wynkoop ( swynk@sswug.org )SSWUG.ORG

Fault Tolerance - Surprises• Things to consider:– IP Address changes (DNS, IPs, etc.)– Machine name changes/DNS name changes– Cached DNS– Cycle times on availability checks– Firewalls, other items that reference IP/machine name– Application configurations, database connections, etc.

Page 19: Important Questions Moving to the Cloud (Or even splitting the environment) Stephen Wynkoop ( swynk@sswug.org )SSWUG.ORG

Data Entry Security • Encryption at the source• Access controls

These can become architecture issues because services can be involved.

Page 20: Important Questions Moving to the Cloud (Or even splitting the environment) Stephen Wynkoop ( swynk@sswug.org )SSWUG.ORG

A LOOK AT SSWUG ARCHITECTURE

Page 21: Important Questions Moving to the Cloud (Or even splitting the environment) Stephen Wynkoop ( swynk@sswug.org )SSWUG.ORG

Auto Scaling group

Availability Zone #1

www.sswug.org

security group

root volume

data volume

Elastic Load Balancing

Amazon S3 bucket

S3-served Video,

graphics

EC2 instance

web appserver

DNS

FlashServer

“Main” Server root volume

data volumedata volumedata volumedata volume

Default 2 instances, Max 10Medium instances

M1.large

M1.large

“Dev” Server

“Test” Server

M1.medium

Site source

AMI for Servers

github

Page 22: Important Questions Moving to the Cloud (Or even splitting the environment) Stephen Wynkoop ( swynk@sswug.org )SSWUG.ORG

Key Services Enabled• Elastic Load balancing• Auto-scaling groups• AMIs• Multiple availability zones• Cloudfront• S3 - storage• SES – email• DNS (Route 53)

• Resized instances for services

• Encoding services

• Challenges:– Full-text services– Encryption options– Managing emergence of

technologies

Page 23: Important Questions Moving to the Cloud (Or even splitting the environment) Stephen Wynkoop ( swynk@sswug.org )SSWUG.ORG

Interesting Trends• Many start with “co-locating” approach• Instead:– “Peel” off services you need– Consider backup, bursting to the cloud services– Use the elasticity, fault tolerance to your

advantage – excellent place to start

Page 24: Important Questions Moving to the Cloud (Or even splitting the environment) Stephen Wynkoop ( swynk@sswug.org )SSWUG.ORG

Interesting Trends 2• Database services for analysis, reporting great

starting points, etc.• Supporting services (DNS, backups, etc.)

Pro tip: Watch for incremental costs that can slowly snowball (storage, other usage-based)

Page 25: Important Questions Moving to the Cloud (Or even splitting the environment) Stephen Wynkoop ( swynk@sswug.org )SSWUG.ORG

Biggest Mistake• Not figuring out services, components and

implementation options that will enhance your environment.

Page 26: Important Questions Moving to the Cloud (Or even splitting the environment) Stephen Wynkoop ( swynk@sswug.org )SSWUG.ORG

Pet Peeve• Billing– Monitor– Analyze– Trend– Trim

All of these different pieces do make itmore difficult to manage costs.

Page 27: Important Questions Moving to the Cloud (Or even splitting the environment) Stephen Wynkoop ( swynk@sswug.org )SSWUG.ORG

Where Do You Start?• Ask the questions• Understand the applications and the

requirements

Historic process applied to current technologies

Page 28: Important Questions Moving to the Cloud (Or even splitting the environment) Stephen Wynkoop ( swynk@sswug.org )SSWUG.ORG

Questions? • Email: [email protected]

• Twitter: @swynk• Phone: 520-760-2400 x1030