AWS Miscellany

Disaster Recovery

RTO: Recover Time Objective (Down time) RPT: Recover Point Objective (Data loss)

  • strategies
    • Backup and restore
    • Pilot light
      • run a small version of the app
      • useful for the critical core
    • warm standby
      • full system is up, but at minimum size
    • hot site / multi site approach

DMS - Database Migration Service

  • Quickly and securely migrate databases to AWS, resilient, self healing
  • The source database remains available during the migration
  • Supports:
    • Homogeneous migrations: ex Oracle to Oracle
    • Heterogeneous migrations: ex Microsoft SQL Server to Aurora
  • Continuous Data Replication using CDC
  • You must create an EC2 instance to perform the replication tasks
  • sources
    • on-premises and EC2 databases - Oracle, MSSQL Server, MySQL, MariaDB, PostgreSQL, MongoDB, SAP, DB2
    • Azure SQL Database
    • Amazon RDS, Aurora
    • Amazon S3
    • DocumentDB
  • targets
    • on-premises and EC2 databases - Oracle, MSSQL Server, MySQL, MariaDB, PostgreSQL, SAP
    • Amazon RDS
    • Redshift, DynamoDB, S3
    • OpenSearch
    • Kinesis Data Streams
    • Apache Kafka
    • DocumentDB & Neptune
    • Redis & Babelfish
  • AWS Schema Conversion Tool (SCT)
    • Convert your Database’s Schema from one engine to another
    • prefer compute-intensive instances to optimize data conversions
  • Continuous Replication
  • multi-AZ deployments
    • DMS provisions and maintains a synchronously stand replica in a different AZ
    • advantages
      • provides data redundancy
      • eliminates IO freezes
      • minimizes latency spikes

On-Premise strategy with AWS

  • Ability to download Amazon Linux 2 AMI as a VM (.iso format)
    • VMWare, KVM,VirtualBox (Oracle VM), Microsoft Hyper-V
  • VM Import / Export
    • Migrate existing applications into EC2
    • Create a DR repository strategy for your on-premisesVMs
    • Can export back the VMs from EC2 to on-premises
  • AWS Application Discovery Service
    • Gather information about your on-premises servers to plan a migration
    • Server utilization and dependency mappings
    • Track with AWS Migration Hub
    • Agent-less Discovery (AWS Agent-less Discovery Connect)
    • Agent-based Discovery (AWS Application Discovery Agent)
  • AWS Database Migration Service (DMS)
    • replicate On-premise => AWS , AWS => AWS, AWS => On-premise
    • Works with various database technologies (Oracle, MySQL, DynamoDB, etc..)
  • AWS Server Migration Service (SMS)
    • Incremental replication of on-premises live servers to AWS

AWS Backups

  • Fully managed service
  • Centrally manage and automate backups across AWS services
  • No need to create custom scripts and manual processes
  • Supported services
    • Amazon EC2 / Amazon EBS
    • Amazon S3
    • Amazon RDS (all DB engines) / Amazon Aurora / Amazon DynamoDB
    • Amazon DocumentDB / Amazon Neptune
    • Amazon EFS / Amazon FSx (Lustre & Windows File Server)
    • AWS Storage Gateway (Volume Gateway)
  • Supports cross-region backups
  • Supports cross-account backups
  • Supports PITR for supported services
  • On-Demand and Scheduled backups
  • Tag-based backup policies
  • You create backup policies known as Backup Plans
    • Backup frequency (every 12 hours, daily, weekly, monthly, cron expression)
    • Backup window
    • Transition to Cold Storage (Never, Days,Weeks, Months,Years)
    • Retention Period (Always, Days,Weeks, Months,Years)
  • Backup Vault Lock

Others

  • Application Discovery Service
    • plan migration projects by gathering information about on-premises data centers
    • server utilization data and dependency mapping are important for migration
  • Application Migration Service (MGN)
  • VMware Cloud on AWS
  • CloudFormation
    • AWS version K8S
    • Infra as Code
  • SES (Simple Email Service)
    • Fully managed service to send emails securely, globally and at scale
    • Allows inbound/outbound emails
  • PinPoint
    • scalable 2-way (in/out) marketing communication service
    • supports
      • Email
      • SMS
      • push
      • voice
      • in-app messages
  • Systems Manager
    • SSM Session Manager
      • allows you to start a secure shell on your EC2 and on-premises serves
      • SSM Agent install on host
    • Run Command
    • Patch Manager
    • Maintenance Windows
    • Automation
  • AWS Cost Explorer
    • Visualize, understand, and manage your AWS costs and usage over time
    • Create custom reports that analyze cost and usage data.
    • Analyze your data at a high level: total costs and usage across all accounts
    • Or Monthly, hourly, resource level granularity
    • Choose an optimal Savings Plan (to lower prices on your bill)
    • Forecast usage up to 12 months based on previous usage
  • AWS Elastic Transcoder
    • convert media files stored in S3 into media files in the formats required by consumer playback devices
  • AWS Batch
  • AWS AppSync
    • GraphQL API
  • Amazon AppFlow
    • AppFlow allows users to securely transfer data between AWS services and SaaS (Software as a Service) applications without the need for custom code. It simplifies the process of integrating data between different systems, making it easier for organizations to set up and manage data flows.
  • AWS Amplify
    • AWS Amplify is a set of tools and services provided by Amazon Web Services (AWS) to help developers build scalable and secure cloud-powered applications. It simplifies the process of developing full-stack applications by providing a set of libraries, UI components, and a command-line interface (CLI) for building and deploying applications.

Terminologies

  • Re-platforming is a migration strategy where you don’t change the core architecture but leverage some cloud optimizations.
  • Re-hosting refers to a migration strategy where no cloud optimizations are done and the application is migrated as it is.
Licensed under CC BY-NC-SA 4.0
Get Things Done
Built with Hugo
Theme Stack designed by Jimmy