Posts

Showing posts from April, 2022

AWS Notes - DevOps - OpsWorks

AWS OpsWorks = Managed Chef & Puppet Feature Chef & Puppet help you perform server configuration automatically, or repetitive actions. Work Great with EC2 & On-premise VM Better for users of Chef & Pupper, Not good to migrating from other tech. Chef has more detailed configuration than Beanstalk

AWS Notes - Compute - Elastic Beanstalk

Features PaaS Service Support Blue/Green Deployment (Use Route53) No additional charge for Elastic Beanstalk, Just pay for underlying AWS resources the application consumes. 3 Architecture Models Single Instance: For Dev LB+ASG: For Prod Web App ASG only: For non-web apps in Prod 2 AWS IAM roles: Service role: Assumed by Elastic Beanstalk to use other AWS services on your behalf Instance profile: applied to the instances in your environment and allows them to retrieve information, perform tasks that vary depending on the environment type and platform. Reference:  https://tutorialsdojo.com/aws-elastic-beanstalk/ Udemy: https://www.udemy.com/course/aws-solutions-architect-professional/

AWS Notes - Migrations - On-premises strategy with AWS

Application Discovery Service Gather information of on-premise servers to plan a migration Track with Migration Hub Server utilization and dependency mappings Application Migration Service Replacing SMS(Server Migration Services) Incremental replication of on-premises live servers to AWS Migrate the entire VM into AWS Elastic Disaster Recovery Replacing CloudEndure Disaster Recovery Recover on-premises workloads onto AWS Database Migration Service Reference Udemy: https://www.udemy.com/course/aws-solutions-architect-professional/

AWS Notes - Migrations - DR

RPO and RTO RPO: Recovery Point Objective (Which point to recovery) RTO: Recovery Time Objective (How many time cost to recovery) Disaster Recovery Strategies Backup and Restore (Snapshot, Storage Gateway etc.) Pilot Light (DB(replication) running, EC2 not running) Warm Stanby  (Fastest) Hot Site / Multi Site Approach Reference Udemy: https://www.udemy.com/course/aws-solutions-architect-professional/

AWS Notes - Migrations - DMS, SCT, CART

  DMS (Database Migration Service)  Type: Homogeneous migrations (Oracle to Oracle) Heterogeneous migrations (Microsoft to Aurora) Features An EC2 instance should be created to perform the replication tasks Works over VPC Peering, VPN, Direct Connect The source database remains available duiring the migration Supports : Full Load, Full Load + CDC(Change Data Capture), CDC SCT(Schema Conversion Tool) Features Used for Heterogeneous database migrations Can scan the application Source for embedded SQL, and convert them as part of a database schema conversion project DMS+Snowball SCT to extract the data locally and move it to an Edge device Send to S3 Use the DMS to migrate the data to the target data store CART(Cloud Adoption Readiness Tool) An assessment report by answer the question of Business, People, Process, Platform, Operations, Security Reference https://en.wikipedia.org/wiki/Change_data_capture

AWS Notes - Migrations - Snow Family & OpsHub

Types Snowcone (Edge Computing, Data Transfer, Edge Storage) 8TB of HDD, 14TB of SSD 4 vCPU, 4GB Memory Battery Days-Weeks DataSync agent is pre-installed Compute Engine: Amazon EC2 AMI/AWS IoT Greengrass   Snowball Edge Storage Optimized (Data Transfer, Edge Storage) 80TB of HDD, 1TB of SSD 40 vCPU, 80GB Memory Days-Weeks Compute Engine: Amazon EC2 AMI/AWS IoT Greengrass   Snowball Edge Compute Optimized (Data Transfer, Edge Storage) 42TB of HDD, 7.68 TB of SSD 52 vCPU, 208GB Memory Optional GPU Weeks-Years Compute Engine: Amazon EC2 AMI/AWS IoT Greengrass   Snowmobile (Data Transfer) 100PB of HDD Months Better than Snowball if you transfer more than 10 PB Features Network adapters: up to 100 GB/second. Enforced Encryption OpsHub a software should be installed on your computer / laptop. use AWS OpsHub to manage your Snow Family Device. Price (Per day) Snowcone ($6) Snowcone SSD ($15) Snowball Edge Storage Optimized data transfer only  ($30) Snowball Edge Storage Optimized with EC2 Com

AWS Notes - Migrations - AWS Storage Gateway

Summary: A bridge between on-premise data and S3, Mount S3 to on-premise as a storage device. Use case: Disaster recovery, backup & Restore, Tiered storage Type : (S3) File Gateway : NFS/SMB protocols Replicate the local data to Amazon S3 Support S3/S3-IA/S3 One zone - IA Support Object Versioning Support Object Lock Examples: Extensions(AWS services), Read-only Replicas, Backup and Lifecycle Policies Tape Gateway Replace the Tape to S3(Glacier/Glacier Deep Archive) Volume Gateway : iSCSI protocal Up to 32 volumes per Gateway Cached Volumes : Frequently accessed S3 Data Stored Volumes : low-latency, as a Snapshot  FXs File Gateway Local cache for frequently accessed data Used for File shares. Windows native compatibility Reference https://docs.aws.amazon.com/storagegateway/index.html https://tutorialsdojo.com/aws-storage-gateway/

AWS Notes - Migrations - Migration Strategies The 6R

Rehosting (Lift and shift) : Do not modify the Program, migrate to AWS directly. Replatform : Do not change the core program, making a few cloud optimizations, such as migrate the database to RDS, migrate the application to Elastic Beanstalk Repurchase,Replace (Drop and shop) : Move to the SaaS platform. Refactor / Re-architect : Reimaging the application using Cloud Native feature. It is very expensice. Example: Move an application to Serverless architecture Retire : Drop the things you don't need. save cost. Retain : Do nothing for now      General AWS Migration Tools: AWS Migration Hub AWS Application Discovery Service AWS Server Migration Service (SMS)  AWS Database Migration Service (DMS)  AWS Snowball  AWS Snowmobile AWS Direct Connect  AWS Marketplace  Reference:  https://aws.amazon.com/cn/blogs/enterprise-strategy/6-strategies-for-migrating-applications-to-the-cloud/ https://tutorialsdojo.com/aws-migration-strategies-the-6-rs/ Udemy: https://www.udemy.com/course/aws-solut