module 4: secure your cloud applicationsq...amazon cognito aws directory service aws firewall...

35
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. Module 4: Secure your cloud applications Navjot Singh Technical Trainer AWS

Upload: others

Post on 08-Sep-2020

9 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Module 4: Secure your cloud applicationsQ...Amazon Cognito AWS Directory Service AWS Firewall Manager Amazon GuardDuty AWS Identity and Access Management Amazon Inspector AWS Key Management

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Module 4: Secure your cloud applications

Navjot SinghTechnical TrainerAWS

Page 2: Module 4: Secure your cloud applicationsQ...Amazon Cognito AWS Directory Service AWS Firewall Manager Amazon GuardDuty AWS Identity and Access Management Amazon Inspector AWS Key Management

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Page 3: Module 4: Secure your cloud applicationsQ...Amazon Cognito AWS Directory Service AWS Firewall Manager Amazon GuardDuty AWS Identity and Access Management Amazon Inspector AWS Key Management

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Security is our top priority

Designed for

security

Constantly

monitored

Highly

automated

Highly

availableHighly

accredited

Page 4: Module 4: Secure your cloud applicationsQ...Amazon Cognito AWS Directory Service AWS Firewall Manager Amazon GuardDuty AWS Identity and Access Management Amazon Inspector AWS Key Management

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Security of the cloud

• Hosts, network, software, facilities

• Protection of the AWS global infrastructure is top priority

• Availability of third-party audit reports

Foundation services

Compute Storage Database Network

AWS globalinfrastructure

RegionsAvailability zones Edge locations

AW

S

Page 5: Module 4: Secure your cloud applicationsQ...Amazon Cognito AWS Directory Service AWS Firewall Manager Amazon GuardDuty AWS Identity and Access Management Amazon Inspector AWS Key Management

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Security in the cloud

Considerations

• What you should store

• Which AWS services you

should use

• Which region to store in

• In what content format and

structure

• Who has access

Client-side data encryption &

Data integrity authentication

Platform, applications, identity & access management

Operating system, network & firewall configuration

Customer data

Cu

sto

me

r

Server-side encryption

(File system and/or data)

Network traffic protection

(Encryption/integrity/identity)

Page 6: Module 4: Secure your cloud applicationsQ...Amazon Cognito AWS Directory Service AWS Firewall Manager Amazon GuardDuty AWS Identity and Access Management Amazon Inspector AWS Key Management

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.

AWS shared responsibility model

Client-side data encryption &

Data integrity authentication

Platform, applications, identity & access management

Operating system, network & firewall configuration

Customer data

Cu

sto

me

r

Server-side encryption

(File system and/or data)

Network traffic protection

(Encryption/integrity/identity)

Foundation services

Compute Storage Database Network

AWS globalinfrastructure

RegionsAvailability zones Edge locations

AW

S

Page 7: Module 4: Secure your cloud applicationsQ...Amazon Cognito AWS Directory Service AWS Firewall Manager Amazon GuardDuty AWS Identity and Access Management Amazon Inspector AWS Key Management

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Security, identity, and compliance products

AWS Artifact

AWS Certificate Manager

Amazon Cloud Directory

AWS CloudHSM

Amazon Cognito

AWS Directory Service

AWS Firewall Manager

Amazon GuardDuty

AWS Identity and Access Management

Amazon Inspector

AWS Key Management Service

Amazon Macie

AWS Organizations

AWS Shield

AWS Secrets Manager

AWS Single Sign-On

AWS WAF

AWS Artifact

AWS Certificate Manager

Amazon Cloud Directory

AWS CloudHSM

Amazon Cognito

AWS Directory Service

AWS Firewall Manager

Amazon GuardDuty

AWS Identity and Access Management

Amazon Inspector

AWS Key Management Service

Amazon Macie

AWS Organizations

AWS Shield

AWS Secrets Manager

AWS Single Sign-On

AWS WAF

Page 8: Module 4: Secure your cloud applicationsQ...Amazon Cognito AWS Directory Service AWS Firewall Manager Amazon GuardDuty AWS Identity and Access Management Amazon Inspector AWS Key Management

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Manage authentication and authorization

Page 9: Module 4: Secure your cloud applicationsQ...Amazon Cognito AWS Directory Service AWS Firewall Manager Amazon GuardDuty AWS Identity and Access Management Amazon Inspector AWS Key Management

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.

AWS Identity and Access Management (IAM)

Temporary privileges

that an entity can assume

GROUP ROLEIAM USER

Collection of users

with identical permissions

A person or application

that interacts with AWS

Securely control access to AWS resources

Page 10: Module 4: Secure your cloud applicationsQ...Amazon Cognito AWS Directory Service AWS Firewall Manager Amazon GuardDuty AWS Identity and Access Management Amazon Inspector AWS Key Management

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Authentication: Who are you?

$ aws

IAM GROUPIAM USER

IAMAWSCLI

AWSSDKS

AWSManagementConsole

Page 11: Module 4: Secure your cloud applicationsQ...Amazon Cognito AWS Directory Service AWS Firewall Manager Amazon GuardDuty AWS Identity and Access Management Amazon Inspector AWS Key Management

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Authorization: What can you do?

IAM policies

Fullaccess

Read only

$ aws AWSCLI

AmazonS3 BucketIAM USER,

GROUP OR ROLE

Page 12: Module 4: Secure your cloud applicationsQ...Amazon Cognito AWS Directory Service AWS Firewall Manager Amazon GuardDuty AWS Identity and Access Management Amazon Inspector AWS Key Management

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.

IAM roles

• IAM users, applications, and services may assume IAM roles

• Roles uses an IAM policy for permissionsIAM ROLE

Page 13: Module 4: Secure your cloud applicationsQ...Amazon Cognito AWS Directory Service AWS Firewall Manager Amazon GuardDuty AWS Identity and Access Management Amazon Inspector AWS Key Management

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Using roles for temporary security credentials

EC2instance

Application Amazon

S3 bucket

Page 14: Module 4: Secure your cloud applicationsQ...Amazon Cognito AWS Directory Service AWS Firewall Manager Amazon GuardDuty AWS Identity and Access Management Amazon Inspector AWS Key Management

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Using roles for temporary security credentials

EC2instance

Application Amazon

S3 bucket

Page 15: Module 4: Secure your cloud applicationsQ...Amazon Cognito AWS Directory Service AWS Firewall Manager Amazon GuardDuty AWS Identity and Access Management Amazon Inspector AWS Key Management

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Using roles for temporary security credentials

EC2instance

Application Amazon

S3 bucket

IAM Role IAM Policy

Page 16: Module 4: Secure your cloud applicationsQ...Amazon Cognito AWS Directory Service AWS Firewall Manager Amazon GuardDuty AWS Identity and Access Management Amazon Inspector AWS Key Management

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Using roles for temporary security credentials

EC2instance

Application Amazon

S3 bucket

Assume

IAM Role IAM Policy

Page 17: Module 4: Secure your cloud applicationsQ...Amazon Cognito AWS Directory Service AWS Firewall Manager Amazon GuardDuty AWS Identity and Access Management Amazon Inspector AWS Key Management

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Using roles for temporary security credentials

EC2instance

Application Amazon

S3 bucket

Assume

IAM Role IAM Policy

Page 18: Module 4: Secure your cloud applicationsQ...Amazon Cognito AWS Directory Service AWS Firewall Manager Amazon GuardDuty AWS Identity and Access Management Amazon Inspector AWS Key Management

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Page 19: Module 4: Secure your cloud applicationsQ...Amazon Cognito AWS Directory Service AWS Firewall Manager Amazon GuardDuty AWS Identity and Access Management Amazon Inspector AWS Key Management

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Best practices

• Delete access keys for the AWS account root user

• Activate multi-factor authentication (MFA)

• Only give IAM users permissions they need

• Use roles for applications

• Rotate credentials regularly

• Remove unnecessary usersand credentials

• Monitor activity in your AWS account

Page 20: Module 4: Secure your cloud applicationsQ...Amazon Cognito AWS Directory Service AWS Firewall Manager Amazon GuardDuty AWS Identity and Access Management Amazon Inspector AWS Key Management

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Access your security and compliance

Page 21: Module 4: Secure your cloud applicationsQ...Amazon Cognito AWS Directory Service AWS Firewall Manager Amazon GuardDuty AWS Identity and Access Management Amazon Inspector AWS Key Management

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Challenges of threat assessment

• Expensive

• Complex

• Time-consuming

• Difficult to track IT changes

Page 22: Module 4: Secure your cloud applicationsQ...Amazon Cognito AWS Directory Service AWS Firewall Manager Amazon GuardDuty AWS Identity and Access Management Amazon Inspector AWS Key Management

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.

What is Amazon Inspector?

Automated security assessment as a service

• Assesses applications for

vulnerabilities

• Produces a detailed list of

security findings

• Leverages security best

practices

Page 23: Module 4: Secure your cloud applicationsQ...Amazon Cognito AWS Directory Service AWS Firewall Manager Amazon GuardDuty AWS Identity and Access Management Amazon Inspector AWS Key Management

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Amazon Inspector findings

Page 24: Module 4: Secure your cloud applicationsQ...Amazon Cognito AWS Directory Service AWS Firewall Manager Amazon GuardDuty AWS Identity and Access Management Amazon Inspector AWS Key Management

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Remediation recommendation

Page 25: Module 4: Secure your cloud applicationsQ...Amazon Cognito AWS Directory Service AWS Firewall Manager Amazon GuardDuty AWS Identity and Access Management Amazon Inspector AWS Key Management

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Protect your infrastructure from

Distributed Denial of Service (DDoS) attacks

Page 26: Module 4: Secure your cloud applicationsQ...Amazon Cognito AWS Directory Service AWS Firewall Manager Amazon GuardDuty AWS Identity and Access Management Amazon Inspector AWS Key Management

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.

What is DDoS?

DDoS

DDoSDDoS

Page 27: Module 4: Secure your cloud applicationsQ...Amazon Cognito AWS Directory Service AWS Firewall Manager Amazon GuardDuty AWS Identity and Access Management Amazon Inspector AWS Key Management

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.

DDoS mitigation challenges

Manual

Degraded

performance

Limited

bandwidth

Involves

rearchitecting

Time-

consuming Expensive

Complex

Page 28: Module 4: Secure your cloud applicationsQ...Amazon Cognito AWS Directory Service AWS Firewall Manager Amazon GuardDuty AWS Identity and Access Management Amazon Inspector AWS Key Management

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.

What is AWS Shield? • A managed DDoS protection service

• Always-on detection and mitigations

• Seamless integration and deployment

• Cost-efficient and customizable protection

DDoS

DDoSDDoS

Page 29: Module 4: Secure your cloud applicationsQ...Amazon Cognito AWS Directory Service AWS Firewall Manager Amazon GuardDuty AWS Identity and Access Management Amazon Inspector AWS Key Management

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.

AWS Shield Standard and AWS Shield Advanced

AWS Shield Standard(Included)

• Quick detection

• Inline attack mitigation

AWS Shield Advanced(Optional)

• Enhanced detection

• Advanced attack mitigation

• Visibility and attack notification

• DDoS cost protection

• Specialized support

Page 30: Module 4: Secure your cloud applicationsQ...Amazon Cognito AWS Directory Service AWS Firewall Manager Amazon GuardDuty AWS Identity and Access Management Amazon Inspector AWS Key Management

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.

AWS security compliance

Page 31: Module 4: Secure your cloud applicationsQ...Amazon Cognito AWS Directory Service AWS Firewall Manager Amazon GuardDuty AWS Identity and Access Management Amazon Inspector AWS Key Management

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Assurance programs

Page 32: Module 4: Secure your cloud applicationsQ...Amazon Cognito AWS Directory Service AWS Firewall Manager Amazon GuardDuty AWS Identity and Access Management Amazon Inspector AWS Key Management

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.

How AWS helps customers achieve compliance

Sharing information

• Industry certifications

• Security and control practices

• Compliance reports directly under NDA

Assurance program

• Certifications/attestations

• Laws, regulations, and privacy

• Alignments/frameworks

Page 33: Module 4: Secure your cloud applicationsQ...Amazon Cognito AWS Directory Service AWS Firewall Manager Amazon GuardDuty AWS Identity and Access Management Amazon Inspector AWS Key Management

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Page 34: Module 4: Secure your cloud applicationsQ...Amazon Cognito AWS Directory Service AWS Firewall Manager Amazon GuardDuty AWS Identity and Access Management Amazon Inspector AWS Key Management

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Customer responsibility

Review – Design – Identify – Verify

Page 35: Module 4: Secure your cloud applicationsQ...Amazon Cognito AWS Directory Service AWS Firewall Manager Amazon GuardDuty AWS Identity and Access Management Amazon Inspector AWS Key Management

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.