How to connect Ec2 in AWS migrated from GCP

0 votes
I migrated gcp vm to AWS (rhel os) Migarion successful completed.and also webserver working properly as gcp-vm. But I should not connect to the ec2(migrated vm from gcp) by ssh clients. I tried with user data scripts runs,copy .ssh/authorised keys to Migrated ec2. But can't connect the Ec2 Plz help

Thanks in advance.
Mar 30, 2022 in GCP by Rahul
• 3,380 points
934 views

1 answer to this question.

0 votes

Before migrating from AWS to Google Cloud you must create identity and Access Management permissions.

  1. Set up a VPN - Create a secure connection between AWS and Google Cloud. You can use Terraform to do that.
  2. Set up AWS Networks- See Network Access Requirements for detailed information on firewall, routing and network tag considerations for your Migrate for Compute Engine Deployment.
  3. Create AWS IAM Credentials- Create IAM groups and credentials that will enable Migrate for Compute Engine to connect to AWS.
  4. Set up Migrate for Compute Engine Manager-  This provides a web UI and controls migration operations.
  5. Upload the AWS IAM credentials to Migrate for Compute Engine Manager.
  6. Create Cloud Extensions 
  7. Prepare your Linux VM's
  8. Create a test clone
  9. Migrate a wave of VM's
answered Mar 31, 2022 by Korak
• 5,820 points

Related Questions In GCP

+2 votes
1 answer

How to do SSH in GCP instance from command line?

Hi@akhtar, You can do SSH to GCP instance ...READ MORE

answered Aug 24, 2020 in GCP by MD
• 95,460 points
1,084 views
0 votes
1 answer

How to authenticate with the correct account in GCP from Command Line?

Hi@akhtar, You can check your accounts from the ...READ MORE

answered Sep 24, 2020 in GCP by MD
• 95,460 points
566 views
0 votes
1 answer

How to remove a rule from the security group in GCP?

Hi@akhtar, You can remove one or more rules ...READ MORE

answered Nov 9, 2020 in GCP by MD
• 95,460 points
800 views
0 votes
1 answer

How to create a custom role from a YAML file in GCP?

Hi@akhtar, You can create an IAM role in ...READ MORE

answered Nov 10, 2020 in GCP by MD
• 95,460 points
1,198 views
0 votes
1 answer

Google cloud: How to list all service-accounts from all Projects in GCP

It's been noted by the commenters that ...READ MORE

answered Nov 10, 2022 in GCP by Tejashwini
• 3,820 points
1,457 views
0 votes
2 answers

How to install gcp in Python?

If you're accessing BigQuery in python, you ...READ MORE

answered Aug 20, 2018 in GCP by Priyaj
• 58,020 points
1,708 views
0 votes
1 answer

Connect to an instance as a root user in GCP

If you configured an instance to allow ...READ MORE

answered Sep 24, 2019 in GCP by Sirajul
• 59,230 points
5,441 views
0 votes
1 answer

How to allow outbound traffic on a custom port in gcp?

To allow outbound traffic through a custom ...READ MORE

answered Sep 26, 2019 in GCP by Sirajul
• 59,230 points
4,996 views
0 votes
1 answer

How to send email to AWS SES from GCP vm instance

Use port 587. As per AWS SES ...READ MORE

answered Mar 4, 2022 in GCP by Korak
• 5,820 points
1,006 views
0 votes
1 answer

Google cloud: How to list all service-accounts from all Projects in GCP

Your code sample suggests you want the ...READ MORE

answered Mar 14, 2022 in GCP by Korak
• 5,820 points
4,062 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP