+ All Categories
Home > Documents > Scale the Cloud - infoshare.pl

Scale the Cloud - infoshare.pl

Date post: 03-Apr-2022
Category:
Upload: others
View: 1 times
Download: 0 times
Share this document with a friend
23
Scale the Cloud Daniel Bykowski Łódź 25-11-2016
Transcript

ScaletheCloudDanielBykowski

Łódź25-11-2016

Aboutme

DanielBykowski

@KainosPolska 25/11/2016 2

SolutionArchitect

Whytoscale?

@KainosPolska 25/11/2016 3

Oneserver

Oneapplicationoneserver

• DNS• PublicIP• Justoneserverinstance

– Application– Database– FileStorage– ...

@KainosPolska 25/11/2016 5

Scalingup

• It’ssimple,it’seasy• HighCPU• Highmemory• Highstorage• HighI/O

• Limited• Requireoutage

@KainosPolska 25/11/2016 6

Oneapplicationoneserver

• Wecanachievealotwithscalingup

• Perfectfordevelopmentenvironment

• Nofailover• Noredundancy• Allinonemachine

@KainosPolska 25/11/2016 7

Database

Divideandconquer

• SeparateDBinstance• Nocodechanges• ScaleupapplicationandDB

separately

@KainosPolska 25/11/2016 9

DatabaseasaService

• MultiAZ– faulttolerant• Scaleupinruntimewithout

break• Horizontalscaling– replication• Monitoring• Management• Backups• Continuousbackups

RDS

@KainosPolska 25/11/2016 10

Scalingwebapplication

LoadBalancing

• Highlyavailable• Sessionstickiness• Healthchecks• Security• HTTPS/HTTP• Monitoring• Logging

ElasticLoadBalancer

@KainosPolska 25/11/2016 12

HorizontalScaling

• Automaticresizeofcomputecluster• Managementandmonitoring• Faulttolerant

• Limitations– Numberonmachinesinsubnet– DBconnectionlimit

AutoScalingGroup

@KainosPolska 25/11/2016 13

AutoScaling

• Scheduled • Replaceunhealthyinstances• Alerts• Savemoney- SpotInstance

• Metrics

AutoScalingGroup

25/11/2016 14@KainosPolska

Scalingbackgroundapplication

Workers

• Scaleout– easy– addnewinstance

• Scalein– hard– longrunnigjobs– delayedtermination– AWSMetricsisnotenough

@KainosPolska 25/11/2016 16

Workers

• Scalingscript– AWSAPI• Predictload

• Lambda

@KainosPolska 25/11/2016 17

Whatelsewecanscale?

ServicesElastiCache– distributedcache

S3– objectstorage

SES– emailservice

CloudWatch– metrics&logs

Elasticsearch - logs

CloudFront – ContentDeliveryNetwork@KainosPolska 25/11/2016 19

Whytoscale?

Keepyourusershapppy......forlowestpossiblecosts!

@KainosPolska 25/11/2016 20

Questions?

Kainos isoneofthelongeststandingindependentdigitaltechnologycompaniesinUK

Industrydigitalleader

WorkinHealthcare,GovernmentandPrivateSector

Employover950people- 250arebasedinGdansk

Support150+globalcustomers

30yearsexperienceindeliveringcomplexITprojects

750+

30

Whoweare


Recommended