simple security for startups - amazon simple storage …€¦ ·  · 2015-10-28simple security for...

59
Simple Security for Startups Mark Bate Solutions Architect

Upload: vankien

Post on 31-Mar-2018

220 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Simple Security for Startups

Mark Bate Solutions Architect

Page 2: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Shared Responsibility

Page 3: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Foundation ServicesCompute

Customer Data

Server-side Encryption (File System and/or Data)

Platform, Applications, Identity & Access Management

Storage Database

Client-side Encryption & Data Integrity Authentication

Am

azon

You

Networking

AWS Global Infrastructure

Operating System, Network & Firewall Configuration

Network Traffic Protection (Encryption/Integrity/Identity)

Regions Availability Zones

Edge Locations

Page 4: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Foundation ServicesCompute

Customer Data

Server-side Encryption (File System and/or Data)

Platform, Applications, Identity & Access Management

Storage Database

Client-side Encryption & Data Integrity Authentication

Am

azon

You

Networking

AWS Global Infrastructure

Operating System, Network & Firewall Configuration

Network Traffic Protection (Encryption/Integrity/Identity)

Regions Availability Zones

Edge Locations

OF

Page 5: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Foundation ServicesCompute

Customer Data

Server-side Encryption (File System and/or Data)

Platform, Applications, Identity & Access Management

Storage Database

Client-side Encryption & Data Integrity Authentication

Am

azon

You

Networking

AWS Global Infrastructure

Operating System, Network & Firewall Configuration

Network Traffic Protection (Encryption/Integrity/Identity)

Regions Availability Zones

Edge Locations

OF

IN

Page 6: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Foundation ServicesCompute

Customer Data

Server-side Encryption (File System and/or Data)

Platform, Applications, Identity & Access Management

Storage Database

Client-side Encryption & Data Integrity Authentication

Am

azon

You

Networking

AWS Global Infrastructure

Operating System, Network & Firewall Configuration

Network Traffic Protection (Encryption/Integrity/Identity)

Regions Availability Zones

Edge Locations

Page 7: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Your Cloud Environment

Page 8: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

AWS Global Footprint

US West (N.California)

US West (Oregon)

GovCloud

US East (Virginia)

EU West (Ireland)

Asia Pacific (Tokyo)

Asia Pacific (Singapore)

Asia Pacific (Sydney)

China (Beijing)

São Paulo

EU Central (Frankfurt)

Page 9: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

AWS Global Footprint

US West (N.California)

US West (Oregon)

GovCloud

US East (Virginia)

EU West (Ireland)

Asia Pacific (Tokyo)

Asia Pacific (Singapore)

Asia Pacific (Sydney)

China (Beijing)

São Paulo

EU Central (Frankfurt)

RegionAn independent collection of AWS resources in a defined geography

A solid foundation for meeting location-dependent privacy and compliance requirements

Page 10: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

AWS Global Footprint

Page 11: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

AWS Global Footprint

Availability ZoneDesigned as independent failure zones

Physically separated within a typical metropolitan region

Page 12: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Virtual Private Cloud Security Layers

Security Group

Subnet 10.0.0.0/24

Routing Table

Network ACL

Security Group

Subnet 10.0.1.0/24

Routing Table

Network ACL

Security Group

Virtual Private Gateway Internet Gateway

Lockdown at instance level

Isolate network functions

Lockdown at network level

Route restrictively

Router

Availability Zone A Availability Zone B

Page 13: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Best Practice: Service Isolation

• Security Groups • Don’t use 0.0.0.0/0

• Subnet separation of instances with: • Network ACLs • Routing tables • No Internet Gateway

Page 14: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Identity and Access Management

Page 15: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Identity and Access Management

• Users & Groups

Page 16: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Identity and Access Management

• Users & Groups • Unique Security Credentials

Page 17: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Identity and Access Management

• Users & Groups • Unique Security Credentials • Temporary Security

Credentials

Page 18: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Identity and Access Management

• Users & Groups • Unique Security Credentials • Temporary Security

Credentials • Policies & Permissions

Page 19: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Identity and Access Management

• Users & Groups • Unique Security Credentials • Temporary Security

Credentials • Policies & Permissions • Roles

Page 20: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Identity and Access Management

• Users & Groups • Unique Security Credentials • Temporary Security

Credentials • Policies & Permissions • Roles • Multi-factor Authentication

Page 21: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

IAM Best Practices

Page 22: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Best PracticesLock away your AWS root account access keys

Page 23: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Best PracticesLock away your AWS root account access keys

Create individual IAM users

Page 24: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Best PracticesLock away your AWS root account access keys

Create individual IAM users

Use groups to assign permissions to IAM users

Page 25: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Best PracticesLock away your AWS root account access keys

Create individual IAM users

Use groups to assign permissions to IAM users

Grant least privilege

Page 26: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Best PracticesLock away your AWS root account access keys

Create individual IAM users

Use groups to assign permissions to IAM users

Grant least privilege

Configure a strong password policy for your users

Page 27: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Best PracticesLock away your AWS root account access keys

Create individual IAM users

Use groups to assign permissions to IAM users

Grant least privilege

Configure a strong password policy for your users

Enable MFA for privileged users

Page 28: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Best PracticesLock away your AWS root account access keys

Create individual IAM users

Use groups to assign permissions to IAM users

Grant least privilege

Configure a strong password policy for your users

Enable MFA for privileged users

Use roles for applications that run on Amazon EC2 instances

Page 29: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Best PracticesLock away your AWS root account access keys

Create individual IAM users

Use groups to assign permissions to IAM users

Grant least privilege

Configure a strong password policy for your users

Enable MFA for privileged users

Use roles for applications that run on Amazon EC2 instances

Delegate by using roles instead of by sharing credentials

Page 30: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Best PracticesLock away your AWS root account access keys

Create individual IAM users

Use groups to assign permissions to IAM users

Grant least privilege

Configure a strong password policy for your users

Enable MFA for privileged users

Use roles for applications that run on Amazon EC2 instances

Delegate by using roles instead of by sharing credentials

Rotate credentials regularly

Page 31: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Best PracticesLock away your AWS root account access keys

Create individual IAM users

Use groups to assign permissions to IAM users

Grant least privilege

Configure a strong password policy for your users

Enable MFA for privileged users

Use roles for applications that run on Amazon EC2 instances

Delegate by using roles instead of by sharing credentials

Rotate credentials regularly

Remove unnecessary credentials

Page 32: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Best PracticesLock away your AWS root account access keys

Create individual IAM users

Use groups to assign permissions to IAM users

Grant least privilege

Configure a strong password policy for your users

Enable MFA for privileged users

Use roles for applications that run on Amazon EC2 instances

Delegate by using roles instead of by sharing credentials

Rotate credentials regularly

Remove unnecessary credentials

Use policy conditions

Page 33: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Best PracticesLock away your AWS root account access keys

Create individual IAM users

Use groups to assign permissions to IAM users

Grant least privilege

Configure a strong password policy for your users

Enable MFA for privileged users

Use roles for applications that run on Amazon EC2 instances

Delegate by using roles instead of by sharing credentials

Rotate credentials regularly

Remove unnecessary credentials

Use policy conditions

Keep a history of activity

Page 34: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Protecting your Data: Simplified

Page 35: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Securing Data at Rest

Amazon RDS Redshift

Amazon S3GlacierAmazon EBS

> AES-256 keys

> KMS integration

> Easy one-click encryption

Page 36: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Securing Data at Rest

Amazon S3 Glacier

> AES-256 keys

> Each object is encrypted

> Each key is encrypted with a master key

> Master key is rotated regularly

> KMS integration

Page 37: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Amazon RDS

Securing Data at Rest

> AES-256 keys

> Logs, backups, and snapshots

> Read replicas

> Archives and backups

> CloudHSM (Oracle TDE only)

> KMS integration

Page 38: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Redshift

Securing Data at Rest

> AES-256 keys

> Data blocks

> Metadata

> Archives and backups

> CloudHSM integration

> 4-tier encryption architecture

Page 39: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Amazon EBS

Securing Data at Rest

> AES-256 keys

> Encryption done on EC2 host

> Snapshots

> KMS integrated

Page 40: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Securing Data at Rest

CloudHSM

> Hardware Security Module

> Single tenancy

> Private key material never leaves the HSM

> AWS provisioned, customer managed

Page 41: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Whitepaper: Encrypting Data at Resthttp://bit.ly/1VVY1H4

Page 42: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Securing data in flight

Use SSL/TLS for all of your trafficjust like you do for your API access

Pro Tip: Validate the SSL Certificate!

Page 43: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Securing data in flight

Amazon ELB

> SSL offloading

> Perfect Forward Secrecy

> SSL Security Policies

Page 44: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Securing data in flight

> RDS Connections (all databases supported)

> Public key for all regions: http://bit.ly/1G9fE4D

Page 45: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Auditing Made Easy

Page 46: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

AWS CloudTrail

Page 47: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

AWS CloudTrail

Developers or scripts make calls…

Page 48: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

AWS CloudTrail

Developers or scripts make calls…

EC2 RedShift

IAM

VPCRDS

on AWS API endpoints…

Page 49: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

AWS CloudTrail

Developers or scripts make calls…

EC2 RedShift

IAM

VPCRDS

on AWS API endpoints…

CloudTrail logs this to an S3 bucket…

Page 50: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

AWS CloudTrail

Developers or scripts make calls…

EC2 RedShift

IAM

VPCRDS

on AWS API endpoints…

CloudTrail logs this to an S3 bucket…

User Action Time

Tim Created 1:30pm

Sue Deleted 2:40pm

Kay Created 3:30pm

so you can review this log

Page 51: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

AWS CloudTrail

Who made the API call?

When was the API call made?

What was the API call?

What were the resources that were acted up on in the API call?

Where was the API call made from?

Page 52: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

CloudTrail Partners

Page 53: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Trusted Advisor

Page 54: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Amazon Trusted Advisor

https://console.aws.amazon.com/trustedadvisor/

Page 55: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Amazon Trusted Advisor

Page 56: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Well-Architected Framework

Page 57: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Well-Architected Framework• Core strategies & best practices for architecting in the cloud

• Designed around 4 pillars: – Security – Reliability – Performance Efficiency – Cost Optimisation

• https://aws.amazon.com/blogs/aws/are-you-well-architected/

Page 58: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Links

Micro-sites https://aws.amazon.com/security https://aws.amazon.com/compliance

Security Bulletins https://aws.amazon.com/security/security-bulletins/ https://alas.aws.amazon.com/

Blogs https://blogs.aws.amazon.com/security/ https://medium.com/aws-activate-startup-blog

Page 59: simple security for startups - Amazon Simple Storage …€¦ ·  · 2015-10-28Simple Security for Startups Mark Bate Solutions Architect. ... IAM Best Practices. Best Practices

Thank You

Mark Bate Solutions Architect [email protected] @markbate