PetaBytz

Migrating On-Premises Apps to Cloud

Migration

Aws Migration is a service that monitors the progress of application migrations to the Amazon Web Services public cloud. The service enables the user to collect and view data from on-premises resources, including servers, and group them into applications.

Need Of Migration

Your customers need quick application usage and organization

It’s getting to be costly to deal with the developing database needs

You are wary about the disaster of server farm going down

On the off chance that you Migrate to Cloud, at that point the issues referenced above will get dealt with consequently.

Phases of AWS Migration

Data Migration is an easy process because in layman’s term, it means moving your data from one location to the other. However, it is more complex as the process involves different phases. Let us now know about the various phases of Migration:

1- Discovery

There are times you need not require to move your whole business to the cloud.This is the place isolation is significant. You have to distinguish the applications which can be Migrated and which can’t. This is the thing that the principal stage is about.

2- Assessment

Contingent upon the information, AWS gives various approaches to Migrate your application for example AWS Snowball, AWS Snowmobile, AWS Direct Connect, and so forth. When you have picked a fitting method to move your information, additionally search for the assets you’ll requirement for it.

3- POC(Proof of Concepts)

When you know how and what you are relocating, next, you need to make sense of how and where you will store it. The whole thought process of moving to AWS is to limit costs. In this stage, you’ll test your remaining task at hand and comprehend about AWS Storage Service, their advantages, impediments, and the vital security controls.

4- Move Application

Since you have all the pre-imperatives like the outline, Migration devices, rundown of assignments, reinforcements and its synchronization with your on-premises information archives. You can at long last relocate your task to AWS Cloud. When you have Migrated your venture to cloud, unwavering quality, and solidness are the additional advantages you get.

5- Cloudify and Optimize

Now, you’ve just moved to AWS, and AWS will bring refreshes that you’ll have to fuse in your current engineering. Thus, you should guarantee that you have a 24×7 help group monitoring framework support and updates after the Migration.

Application Migration Strategies ‘The 6 R’s’

The complexity of migrating existing applications varies, depending on the architecture, Amazon came up with different strategies which they commonly termed as 6 R’s. Let’s discuss each of them:

  1. Rehost:- You have your application ready and working then you can simply Rehost it on AWS. Also referred to “Lift and Shift”. You lift your services and applications from your hosting environment and shift them to cloud using a third party exporting tool.
  2. Replatform:- You have an outdated version of your application running on your hosting environment so you have to modify your application and then Rehost it. Replatform is a modification of “Lift and Shift”. It involves optimizing the cloud architecture to achieve the benefits without changing the core architecture of the application.
  3. Repurchase:- There would be certain applications that won’t be compatible with the new architecture. In that case, you need to purchase a new application for the new architecture. AWS Marketplace provides a wide range of services that too with a “Pay as you Use” model. Repurchase is also referred to as “drop and shop” where you upgrade, ease the implementation and accept the new architecture and make changes to the existing model.
  4. Refactor:- You want to add up new features, scale up the limits of the existing business model and performance that are difficult with the existing environment. You reconsider your needs, though the solution is a bit expensive. Improving business by moving to a service-oriented architecture (SOA) will benefit your business in the longer run.
  5. Retire:- After AWS Migration you can differentiate between useful and useless resources. Hence, you cut off all the resources that are no longer useful to the business and build a strategy around the new resources. This will cut down the extra cost. With lesser things to worry about, now you can focus on maintaining the resources used by the new business model.
  6. Retain:- As you know, the sections of your project you need to migrate. You can simply use any of the above-mentioned strategies. Then, build a strategy to retain those applications, which, according to your business model are yet not ready to be migrated to the cloud or the applications that were upgraded recently.

Advantages of Migration

AWS Migration gives your organization limitless benefits. Let’s look into the major ones in brief.

a) Open and Flexible

You choose the development platform or programming model that makes the most sense for your business. You can choose which services you use, one or several, and choose how you use them. This flexibility allows you to focus on innovation, not infrastructure.

b) Scalable

AWS Auto Scaling lets you set target utilization levels for multiple resources in a interface. You can quickly see the average utilization of all of your scalable resources without having to navigate to other consoles. For example, if your application uses Amazon EC2 and Amazon DynamoDB, you can use AWS Auto Scaling to manage resource provisioning for all of the EC2 Auto Scaling groups and database tables in your application.

c) Reliable

The Reliability pillar includes the ability of a system to recover from infrastructure or service disruptions, dynamically acquire computing resources to meet demand, and mitigate disruptions such as misconfigurations or transient network issues.

d) Cost Effective

You pay only for the compute power, storage, and other resources you use, with no long-term contracts or up-front commitments.On comparing the costs of other hosting alternatives with AWS.

e) Easy to use

AWS is designed to allow application providers, ISVs, and vendors to quickly and securely host your applications — whether an existing application or a new SaaS-based application. You can use the AWS Management Console or well-documented web services APIs to access AWS’s application hosting platform.

f) Secure

AWS provides several security capabilities and services to increase privacy and control network access. These include:

a) Network firewalls built into Amazon VPC, and web application firewall capabilities in AWS WAF let you create private networks, and control access to your instances and applications

b) Customer-controlled encryption in transit with TLS across all services

c) Connectivity options that enable private, or dedicated, connections from your office or on-premises environment

d) Automatic encryption of all traffic on the AWS global and regional networks between AWS secured facilities

g) Flexible

AWS enables you to select the operating system, programming language, web application platform, database, and other services you need. With AWS, you receive a virtual environment that lets you load the software and services your application requires. This eases the migration process for existing applications while preserving options for building new solutions.

Services for Migration

Amazon S3 Transfer Acceleration

Amazon S3 Transfer Acceleration enables fast, easy, and secure transfers of files over long distances between your client and an S3 bucket. Transfer Acceleration takes advantage of Amazon CloudFront’s globally distributed edge locations. As the data arrives at an edge location, data is routed to Amazon S3 over an optimized network path.

AWS Snowball

Snowball is a petabyte-scale data transport solution that uses devices designed to be secure to transfer large amounts of data into and out of the AWS Cloud. … Transferring data with Snowball is simple, fast, more secure, and can be as little as one-fifth the cost of transferring data via high-speed Internet.

AWS Snowmobile

It is an large scale data transfer solution to move an extremely large amount of data to AWS. Snowmobile makes the transfer of massive volumes of data easier.

Direct Connect

AWS Direct Connect lets you establish 1 Gbps or 10 Gbps dedicated network connections (or multiple connections) between AWS networks and one of the AWS Direct Connect locations. It uses industry-standard VLANs to access Amazon Elastic Compute Cloud (Amazon EC2) instances running within an Amazon VPC using private IP addresses. You can choose from an ecosystem of WAN service providers for integrating your AWS Direct Connect endpoint in an AWS Direct Connect location with your remote networks.

Demo: Migration utilizing Import/Export strategy

Migrating an on-premise Virtual OS running on VMWare to AWS using Import/Export (AWS Direct Connect) method.

1. Create a .vmdk export file for buntu 14.04.

2. Download & configure AWS CLI.

3. Create an IAM User.

  • Now click on “Add User”.
  • Next, select a unique User name.
  • Now give Administrator access.
  • Click on Create User.

4. Create an S3 bucket and add file(image file of the OS).

  • Select a unique Username.
  • Review and Create Bucket.
  • Add the exported .vmdk file.
  • Click on Upload
  • Wait till the image reflect on the list.

5. You can upload the file using AWS CLI also.

6. Once the file is uploaded, create an AMI for the imported image file.

  • Your image is now available as an AMI.

7 UsingPutty :

  • Configure the .pem file to your Putty and provide the username and the connection string. It will show initializing and few minutes later you will land on to Ubuntu 14.04.

In this way, we have successfully migrated a virtual OS on AWS.

Leave a Reply

Your email address will not be published. Required fields are marked *