business agility & taking an app global (at speed) on aws - aws summit 2014 brisbane with itoc

19
linkedin.com/in/ davidnedved Business Agility : Taking an App Global (At Speed) AWS Summit 2014 : Brisbane www.itoc.com.au

Upload: david-nedved

Post on 02-Dec-2014

535 views

Category:

Technology


0 download

DESCRIPTION

Agility is the number one reason why businesses are moving so quickly to Amazon Web Services and the cloud. These slides are from the 2014 AWS Brisbane Summit with ITOC addressing how to treat ‘infrastructure as code’ & driving business agility (and speed) to a global market at global scale, all powered by AWS.

TRANSCRIPT

Page 1: Business Agility & Taking an App Global (At Speed) on AWS - AWS Summit 2014 Brisbane with ITOC

linkedin.com/in/davidnedved

Business Agility :Taking an App Global (At Speed)

AWS Summit 2014 : Brisbanewww.itoc.com.au

Page 2: Business Agility & Taking an App Global (At Speed) on AWS - AWS Summit 2014 Brisbane with ITOC

So what’s in this session…

• Scaling a product up or down in AWS

• Thinking ‘SOA’ (Service Oriented Architecture)

• Treating infrastructure as code

• A few technical’s & exploring AWS building blocks outside of just EC2

• Leveraging OSS (Open source software) on the AWS platform

• Why ‘The Business’ is loving AWS

Page 3: Business Agility & Taking an App Global (At Speed) on AWS - AWS Summit 2014 Brisbane with ITOC

The common story up until cloud

It’s already changed …

• High cost to market• Skills barrier• No on-the-go revolution

2014 Future Of Cloud Computing Survey Results:• CapEx to OpEx• Scalability• Mobility• Agility• Cost Model

Page 4: Business Agility & Taking an App Global (At Speed) on AWS - AWS Summit 2014 Brisbane with ITOC
Page 5: Business Agility & Taking an App Global (At Speed) on AWS - AWS Summit 2014 Brisbane with ITOC

• Are we operating the business at scale?

• Are we taking advantage of the scale of our business?”

• Can the product scale-up or scale-down depending on demand?”

• Does the business scale?

• We are currently scaling-out the team

Almost all technology driven businesses dream to scale …… But what does “scale” mean in business terms??

Cloud is not just all about technology — it’s also about the business model. "Born in the cloud" is a business model for the future.

Page 6: Business Agility & Taking an App Global (At Speed) on AWS - AWS Summit 2014 Brisbane with ITOC

AWS is more than just EC2 … Think “SOA”(Service Oriented Architecture)

If you want to build a product or app that will scale globally consider adopting service-oriented architecture model.

This doesn’t necessarily just apply to tech stacks, but to business units also.

Page 7: Business Agility & Taking an App Global (At Speed) on AWS - AWS Summit 2014 Brisbane with ITOC

If you can program it, you can automate it!

In business terms...

• Take product to market

• Managing product

• Changing product

• Automation & API’s - AWS building blocks

• Continuous integration & deployment

• Scalable database architecture - NOSQL

• Geographic DNS

• Monitoring your global infrastructure

Thinking “SOA”…Treat your infrastructure as Code!

Page 8: Business Agility & Taking an App Global (At Speed) on AWS - AWS Summit 2014 Brisbane with ITOC

Use the AWS API’s … Use AWS building blocks like DynamoDB, ElastiCache, SQS, and EMR … Remember AWS is more than just EC2!

In this example of under 20 lines of code , you can create a simple API to read from Dynamo, the example returns JSON to the browser; Dynamo will handles the throughput & scaling :)

Start with the bottlenecks...

Page 9: Business Agility & Taking an App Global (At Speed) on AWS - AWS Summit 2014 Brisbane with ITOC

In this example we have more than 64k of data to store as a single DynamoDB item.We combined S3 and DynamoDB into the node.js app’s backend…

Be creative; explore all the AWS building blocks for your solution!

Let the front-end of your app (mobile client or web-app) query your back-end API, then fetch what data is required from S3 … It’s good to let the browser do the work, this will use less load on your servers … S3 is cheaper than EC2 after all :D

Page 10: Business Agility & Taking an App Global (At Speed) on AWS - AWS Summit 2014 Brisbane with ITOC

Route53’s geographic DNS rocks! - Auto-Scale your instances in each region, and let Route53 determine which endpoint to send traffic to depending on where your users are located geographically…

Your cloud is only as strong as it’s weakest link .. USE ROUTE53!

• Highly Available and Reliable• Latency Based Routing• Weighted Round Robin• DNS Failover• CloudFront, ELB & S3 Support• Scalable, Simple, Fast & CHEAP!

Why we’re using it?

Page 11: Business Agility & Taking an App Global (At Speed) on AWS - AWS Summit 2014 Brisbane with ITOC

When thinking scale, think CloudFormation… ITOC deploys environments in minutes using CloudFormation & it’s a key elementto take your app global on the AWS platform.

CloudFormation IS Infrastructure as Code!

AWS S3

EC2 Cluster

JSON CloudFormation Parameters

Page 12: Business Agility & Taking an App Global (At Speed) on AWS - AWS Summit 2014 Brisbane with ITOC

There are many CI-Deploy suites out there that can be scripted to leverage AWS API’s.Consider running your CI/CD stack on AWS and integrating with CloudFormation or EC2 AMI’s as part of your test/deploy suite(s).

Use CI/CD that leverages AWS

Often there is no "one-size-fits-all" for CI/CD due to application specific requirements. Thanks to the AWS API that gap is rapidly shrinking!

Page 13: Business Agility & Taking an App Global (At Speed) on AWS - AWS Summit 2014 Brisbane with ITOC

Use OSS tool-sets i.e. “The Simian Army” as part of your process

We love open source software & more and more enterprises are embracing open source as the de-facto standard as they make their shift into to the cloud

Be creative on how you deploy your changes … For example, A/B testing could be rolled out to select customers, or parts of your architecture allowing UAT to be performed in a controlled "real world environment".

https://github.com/Netflix/SimianArmy

You could for example run “Chaos Monkey” as part of your standard deploy tests.

Page 14: Business Agility & Taking an App Global (At Speed) on AWS - AWS Summit 2014 Brisbane with ITOC

Use monitoring tools designed for the cloud

Intaro Pinboard (Pinba - Board)Is a fantastic OSS tool that you can spin up to monitor your your scaling applications health & performance.

CloudWatch is a “no-brainer” when scaling any workload on AWS.

https://github.com/tony2001/pinba_engine

Page 15: Business Agility & Taking an App Global (At Speed) on AWS - AWS Summit 2014 Brisbane with ITOC

Know what your environment is doing…… Implement a log management platform

SaaS Solutions:• Boundary• Loggly• Papertrail• Splunk Storm• SumoLogic

AWS CloudTrailEnterprise Solutions:

• Logscape• Splunk• Tibco LogLogic

Open Source Solutions:

http://itoc.com.au/community/oss/amis/graylog2

Page 16: Business Agility & Taking an App Global (At Speed) on AWS - AWS Summit 2014 Brisbane with ITOC

By leveraging AWS correctly we will help you take your enterprise

from this …

… to this

Page 17: Business Agility & Taking an App Global (At Speed) on AWS - AWS Summit 2014 Brisbane with ITOC

To summarise…

• Think ‘SOA’ … Remember AWS is more than just EC2

• Treat all your infrastructure as code - even your VPC/Networking!

• Explore all AWS building blocks when building or migrating to the AWS platform

• Consider leveraging OSS on AWS … We’re not in 2004 any more

• Innovate more, Fail quickly (at a low cost), and don’t be shy to experiment!

Page 18: Business Agility & Taking an App Global (At Speed) on AWS - AWS Summit 2014 Brisbane with ITOC

Email us ~ [email protected] us ~ 1300 012 296

Questions? • Come and talk with us in the main foyer! • Grab a power bank (if there’s any left ;) • Come and have a beer with us after the summit!

Don’t forget to download the slides from SlideShare & follow us online:

linkedin.com/company/itoc-australia

facebook.com/itocaustralia

twitter.com/@itocaustralia

www.itoc.com.au/launch

Page 19: Business Agility & Taking an App Global (At Speed) on AWS - AWS Summit 2014 Brisbane with ITOC

Please come and talk with us; give us your feedback on this presentation!

Email: [email protected]

www.itoc.com.au/powerbank