aptible, aws, and telepharm: architecting hipaa compliance for the cloud

85
Aptible + Telepharm HIPAA for Startups Presenters: Scott Ward, AWS Frank Macreery, Aptible Caleb Boyd, Telepharm Kent Safranski, Telepharm June 23rd, 2015

Upload: aptible

Post on 19-Aug-2015

19 views

Category:

Technology


7 download

TRANSCRIPT

Page 1: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Aptible + Telepharm HIPAA for StartupsPresenters: Scott Ward, AWS Frank Macreery, Aptible Caleb Boyd, Telepharm Kent Safranski, Telepharm

June 23rd, 2015

Page 2: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

AWS Compliance

AWS maintains a formal control environment

SOC 1 Type II report published every six months

SOC 2 Security and Availability report every six months

ISO 27001 Certification

ISO 9001 Certification

+ Many more

Certified PCI DSS 3.0 Level 1 Service Provider

FedRAMP Certification

HIPAA BAAs

DoD CSM Levels 1-2, 3-5

GxPISO 13485AS9100ISO/TS 16949

Page 3: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

HIPAA Compliance

HIPAA is there to protect the security and privacy of Protected Health Information (PHI).

PHI covers a wide set of personally identifiable health and health related data.

HIPAA on AWS means that you are protecting all the PHI data and that you are only using AWS services which are covered by the BAA allowing you to protect PHI information.

Page 4: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

AWS looks after the security of the platform

Customers are responsible for their security configuration IN the Cloud

Security is shared between AWS and customers

AWS Foundation Services

Compute Storage Database Networking

AWS Global Infrastructure Regions

Availability ZonesEdge Locations

Encryption Key Management

Client and Server Encryption

Network Traffic Protection

Platform, Applications, Identity & Access Management

Operating System, Network & Firewall Configuration

Customer content

Customers

Page 5: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

AWS HIPAA Eligible Services

Customer may use all services within a “HIPAA Account”

Customers may process, store, or transmit ePHI using only Eligible Services

Amazon EC2 Elastic LoadBalancing

(TCP mode only)

Amazon S3

Amazon EBS

Amazon Glacier

Amazon Redshift

Page 6: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

AWS HIPAA configuration requirements

Customers must encrypt ePHI in transit and at rest

Customers must use EC2 Dedicated Instances for instances processing, storing, or transmitting ePHI

Customers must record and retain activity related to use of and access to ePHI

Page 7: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Data Encryption at Rest

Amazon Simple Storage Service (S3)

Access controls at bucket and object levelRestrict access and rights Versioning

S3 Cryptographic FeaturesHTTPS for in transit dataS3 Server Side EncryptionS3 Client Side EncryptionMD5 Checksums to verify file integrity

Amazon Elastic Block Store (EBS)

Implement AWS managed encryption

Implement your own encryption

AWS Partner solutions to help with encryption management and implementation

EBS

Page 8: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Data Encryption in Transit

AWS Service endpoints support https

Customers implement their own https or TLS encryption of data in transit to support their applications

Page 9: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Controlling your EC2 instances

Launch instance EC2

AMI catalogue Running instance Your instance

You choose and control your imageAWS CatalogYour ownMarketplaceCommunity

You determine network placementVPCSubnetSecurity GroupsPublic IP address

You configure your instanceHarden operating systemHost based firewallControl admin/user accessLogging

Configure instance

Page 10: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Dedicated EC2 Instances

Shared Tenancy

DedicatedTenancy

EC2 instance customer #1

EC2 instance customer #2

EC2 instance customer #3

EC2 instance customer #4

EC2 instance customer #1

EC2 instance customer #1

EC2 instance customer #1

EC2 instance customer #1

Page 11: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Audit Controls - AWS CLOUDTRAIL

You are making API calls...

On a growing set of services around the

world…

AWS CloudTrail is continuously

recording API calls…

And delivering log files to you

Redshift

AWS CloudFormation

AWS Elastic Beanstalk

Page 12: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud
Page 13: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud
Page 14: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud
Page 15: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud
Page 16: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Implementing SecurityDelegate, automate, standardize

Page 17: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

What Does HIPAA Require?

Page 18: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Physical Safeguards

Page 19: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Physical SafeguardsFacility Management

Page 20: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Physical SafeguardsPhysical Contingency Plans

Page 21: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Physical Safeguards

Page 22: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

General Technical Safeguards

Page 23: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

General Technical SafeguardsEncryption

Page 24: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

General Technical SafeguardsData Backups

Page 25: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

General Technical SafeguardsInstance Access (SSH) Controls

Page 26: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

General Technical Safeguards

Page 27: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Specific Technical Safeguards

Page 28: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Specific Technical SafeguardsAuthentication

Page 29: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Specific Technical SafeguardsPHI Record Access Controls (Authorization)

Page 30: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Specific Technical Safeguards

Page 31: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Administrative Safeguards

Page 32: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Administrative SafeguardsPolicies & Procedures

Page 33: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Administrative SafeguardsRisk Assessments

Page 34: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Administrative SafeguardsWorkforce Training

Page 35: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Administrative Safeguards

Page 36: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Specific Technical

General Technical

Physical

Page 37: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Delegation

Page 38: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

DelegationAptible delegates physical safeguards to AWS

Page 39: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

DelegationCustomers delegate administrative and (many) technical safeguards to Aptible

Page 40: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

How does Aptible implement technical safeguards?

Page 41: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

OpsWorks

Chef

CloudTrailCFN

Page 42: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

OpsWorks

Chef

CFN

General Technical Safeguards Specific Technical Safeguards

Page 43: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Unique SSH User IdentificationOpsWorks + IAM

Page 44: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

A covered entity must… assign a unique name and/or number for identifying and tracking user identity.

§164.312(a)(2)(i)(Required)

Page 45: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Unique SSH User IdentificationOpsWorks + IAM

Page 46: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Unique SSH User IdentificationEC2 SSH key pair?

Page 47: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Unique SSH User IdentificationEC2 SSH key pair

Page 48: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Unique SSH User IdentificationManual authorized_keys management?

Page 49: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Unique SSH User IdentificationManual authorized_keys management

Page 50: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

OpsWorks + IAM

Page 51: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

IAMIdentity and Access Management: Service for programmatically managing user identities

Page 52: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud
Page 53: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

OpsWorksChef-based deployment platform

Page 54: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

OpsWorks + IAMGives visibility into current SSH permissions across all EC2 instances

Page 55: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud
Page 56: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

OpsWorks + IAMMakes it easy to rotate keys or revoke access

Page 57: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

OpsWorks + IAMCreates an audit log of all SSH permission changes, through CloudTrail

Page 58: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

End-to-end EncryptionELB—NGiNX—applications

Page 59: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

A covered entity must… implement a mechanism to encrypt electronic protected health information whenever deemed appropriate.

§164.312(a)(2)(i)(Addressable)

Page 60: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

AWS "Approved" Services

Page 61: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

AWS "Approved" Services

EC2 ELB EBS S3 Glacier Redshift

Page 62: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

EC2Must use dedicated instances for PHI

Page 63: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

EBSAll PHI volumes must be encrypted

Page 64: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

ELBEnd-to-end encryption in transit

Page 65: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud
Page 66: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

TCP OR HTTPS TCP OR HTTPS

HTTPS HTTPS

Page 67: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

https://github.com/aptible/docker-nginx

https://quay.io/repository/aptible/nginx

Page 68: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Standardized SSL Termination ContainerDeployed everywhere we require encryption in transit

Page 69: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Configurable via ENV$UPSTREAM_SERVERS

Page 70: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Configurable via ENV$UPSTREAM_SERVERS$FORCE_SSL$HSTS_MAX_AGE (…)

Page 71: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Configurable via ENVMakes testing easier

Page 72: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

@test "It should send a Strict-Transport-Security header with FORCE_SSL" {FORCE_SSL=true wait_for_nginxrun curl -Ik https://localhost 2>/dev/null[[ "$output" =~ "Strict-Transport-Security: max-age=31536000" ]]

}

Page 73: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

@test "It should send a Strict-Transport-Security header with FORCE_SSL" {FORCE_SSL=true wait_for_nginxrun curl -Ik https://localhost 2>/dev/null[[ "$output" =~ "Strict-Transport-Security: max-age=31536000" ]]

}

Page 74: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Configurable via ENVAbstracts implementation details: could be NGiNX, HAProxy, …

Page 75: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

ENV configurationSimplifies configuration management: central store doesn’t need to know parameters in advance

Page 76: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Implementing SecurityDelegate low-level or general security details to providers like AWS and Aptible

Page 77: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Implementing SecurityAutomate management of technical safeguards (e.g., through OpsWorks + IAM for SSH access)

Page 78: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Implementing SecurityStandardize implementation and deployment of key security infrastructure

Page 79: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Photo Documentation

What is TelePharm?

Remote Approval

Hardware Agnostic

Minimize Pharmacist Time

Multi-Site Workflow Management

Page 80: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Why Aptible

Market Options(VPS v. PaaS)

Cost (Initial and Ongoing)

Resource Requirements

Uptime and Stability

Page 81: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Requirements and Challenges

Minimize resource investment

Scaling

*Access Control

*Auditing

*Data storage

*Real-time Data processing

*Requires HIPAA Compliance

Page 82: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Access Control

Scoped by Tenant/Organization

Role based

Limited session length

Blacklist

Detailed access logs

Page 83: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Auditing

Log usage of DALs with current Principal

Log usage of endpoints and services

Store actions taken on ePHI

Page 84: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Data storage and processing

Managed encryption on document storage

Managed encryption on blob storage

Managed encryption on (maybe) persistent cache storage

• All solved with platform and infrastructure provided by AWS and Aptible.

Page 85: Aptible, AWS, and Telepharm: Architecting HIPAA compliance for the cloud

Thank you