{"id":169,"date":"2021-10-27T06:02:16","date_gmt":"2021-10-27T06:02:16","guid":{"rendered":"http:\/\/18.141.20.153\/?p=169"},"modified":"2023-05-08T11:30:48","modified_gmt":"2023-05-08T11:30:48","slug":"how-to-launch-and-connect-to-a-macos-instance-on-amazon-ec2-and-access-it-through-a-gui-using-vnc-client","status":"publish","type":"post","link":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-launch-and-connect-to-a-macos-instance-on-amazon-ec2-and-access-it-through-a-gui-using-vnc-client\/","title":{"rendered":"How to launch and connect to a MacOS instance on Amazon EC2 and access it through a GUI using VNC Client?"},"content":{"rendered":"<span class=\"rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\">11<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>\n<p><img src=\"https:\/\/lh5.googleusercontent.com\/rS3vCbBAjOh0hkqIkTAUAHbirY65M-uFQ1qUif09n3jnD5aOMQRBhO1z_drubKAl1XoMpp1W5S3tjCBrcTDOwy2KvcB0dnyhEXzkJeLOsjYo-yfx7nu29sJSh43yN1fcvmeH5Byt\" style=\"width: 1600px;\"><\/p>\n\n\n\n<p class=\"has-text-align-justify\">Amazon EC2 MacOS Instances allow to execution of on-demand MacOS workloads in the cloud, expanding AWS&#8217; flexibility, scalability, and cost advantages to all Apple developers. Developers working on apps for the iPhone, iPad, Mac, Apple Watch, Apple TV, and Safari may use EC2 MacOS Instances to provision and access MacOS environments in minutes, dynamically scale capacity as needed, and take advantage of AWS&#8217; pay-as-you-go pricing.<\/p>\n\n\n\n<p class=\"has-text-align-justify\">In this blog, we will see a business use case where Mr. James wants to use MacOS for a short period of time and how he is able to resolve his problem by creating a MacOS Instance on <a href=\"https:\/\/www.workfall.com\/learning\/blog\/15-awsome-years-of-amazon-ec2-and-still-going-strong\/\">Amazon EC2<\/a> and accessing it through a GUI using VNC Client. We will see how we can create a Dedicated Host that is to be attached to the EC2 MacOS Instance. We will also have a look at how we can connect to the EC2 MacOS Instance via SSH and via VNC Viewer to start up the GUI.<\/p>\n\n\n\n<h2><strong>Amazon EC2 MacOS Instance<\/strong><\/h2>\n\n\n\n<p class=\"has-text-align-left\"><img src=\"https:\/\/lh4.googleusercontent.com\/7vJ4I8italtZQ9hB0apAxdJ70343im_ZJRUBrpHDtoJTMuE7kSRjKgptiMSHwP7gsremKe6sRQVQJSNhYqvkca6yra8IGkoHPoTYwUAKuXWHpedckqPzSOfvqvSEFgXUc28L-0cq\" style=\"width: 1600px;\"><\/p>\n\n\n\n<p class=\"has-text-align-justify\">EC2 MacOS instances do not fall under the free tier so based on the storage and its usage, you will be charged accordingly. The configurations for windows and linux instances are comparatively easy but when it comes to configuring the EC2 MacOS Instance, we need to perform some add-on configurations. We need to create a dedicated host for the EC2 MacOS instance that needs to be connected to the EC2 instance that we create. Additional setup for VNC is needed for starting up the MacOS GUI if you are using Windows OS. In case you are using MacOS itself, then you can use Screen Sharing to connect to the MacOS GUI.&nbsp;<\/p>\n\n\n\n<p class=\"has-text-align-justify\">The smooth usage of the MacOS will depend on the storage you assign for your instance but make sure that adding extra storage might give a huge hike in the cost so make sure to switch off the MacOS Instance as soon as it is not needed. There is a 24-hour minimum allocation duration that is applicable to the Dedicated Host itself, not to your mac1.metal instance. You can launch and terminate mac1.metal instances as you want on that mac1 Dedicated Host, for example, to switch between a MacOS Catalina-based AMI and a MacOS Big Sur-based AMI. However, once you allocate a Mac1 Dedicated Host, you cannot release it until 24 hours later (the minimum lease period is 24 hours for the physical server).&nbsp;<\/p>\n\n\n\n<p class=\"has-text-align-justify\">Once past those initial 24 hours, you can release the host anytime you want. This time period is to comply with the MacOS Software Licensing Agreement. As with all Amazon EC2 Dedicated Hosts, you pay per second for the entire duration that Dedicated Host is allocated to your account. Instances launched or terminated on that Dedicated Host have no separate charge. Since the minimum host allocation duration for mac1 Dedicated Hosts is 24 hours, by definition, you pay for a minimum 24 hours.<\/p>\n\n\n\n<h2><strong>Hands-on<\/strong><\/h2>\n\n\n\n<p><img src=\"https:\/\/lh4.googleusercontent.com\/1WZqT6ebJWd6sMXx-TeVDmn8N6iBUKsWfLpYl1bu-lloRz7ybBikWELVvBn34aRva_4jKmn4vZGNOURPrQto41ED4xu6EL6a8YiXT7DgTKg3Yw5HdchukAmok2GKoPkVZIe58CTw\" style=\"width: 1600px;\"><\/p>\n\n\n\n<p class=\"has-text-align-justify\">Mr. James is using Windows OS but he wants to perform some small operations on MacOS for its data analysis purpose. James uses a Windows OS and is unable to install dual boot on its system because of storage and time constraints. The analysis report deadline is closing by and James needs a quick solution to have a MacOS in hand and quickly get done with the analysis. Now, since the task requirement is only for a small duration, James cannot buy a new MacBook altogether. So he decides on making use of an EC2 MacOS Instance to quickly get its task completed with the least cost and within the expected timeband.<\/p>\n\n\n\n<p class=\"has-text-align-justify\">In this blog, we will see how Mr. James can quickly get started launching a MacOS Instance and connecting to its GUI (MacOS) to accomplish its time-constraint task. We will have a look at how we can create a dedicated host for a MacOS Instance. We will then switch on the auto-assigning of IPv4 addresses to the instances. Moving further we will see how to create a MacOS Instance with the newly created dedicated host attached to it. Then we will assign the storage for smooth flow of the GUI and create a security group to connect to the instance via a local machine with SSH rule attached to it. Then we will execute a few commands on the command line to change the flow of traffic and start up the Remote Management. Since Mr. James has Windows OS, we will then see how to install RealVNC Viewer, and create an account to start up the MacOS GUI on Windows. At last, we will test the connection via installing an application from the App Store and running it.<\/p>\n\n\n\n<p><strong>To implement this, we will do the following:<\/strong><\/p>\n\n\n\n<ul><li>Login to your AWS console and navigate to the dashboard.<\/li><li>Search for the EC2 service and navigate to the EC2 dashboard.<\/li><li>Create a new dedicated host for a Mac instance.<\/li><li>Search for the VPC service and navigate to the subnets of the created VPC.<\/li><li>Switch on \u2018Auto-assign IPv4 addresses\u2019 for your subnets in the created VPC.<\/li><li>Navigate back to the EC2 dashboard and launch a new instance.<\/li><li>Make sure to create an instance in the availability zone in which you created the dedicated host.<\/li><li>Create a new security group for that instance so that we can SSH into the instance.<\/li><li>Review all the configurations and create a new key-pair and download the key while launching the instance.<\/li><li>Connect to the newly created EC2 instance either via EC2 connect or SSH client.<\/li><li>Connect to the MacOS Instance using a command via SSH client.<\/li><li>Switch to the Bash Scripting dashboard.<\/li><li>Start a Remote Management using the command line.<\/li><li>Navigate traffic to the localhost:5900 port.<\/li><li>Install RealVNC Viewer in case you are using windows to launch the GUI.<\/li><li>Create a RealVNC account and login to the application using the account.<\/li><li>Connect to the VNC address (localhost:5900) to start the MacOS GUI.<\/li><li>Authenticate the traffic flow.<\/li><li>Test the GUI by installing and running up an application from the App Store.<\/li><\/ul>\n\n\n\n<p>Login to your AWS console and navigate to the dashboard.<\/p>\n\n\n\n<p><img src=\"https:\/\/lh3.googleusercontent.com\/8SVpKgoB5Xglq1lgqqNjV_Whpt8qvFaDRaBqhaNDgXYcFU3n4T6imaJBkdXPZy5O81PA0ytIEZNW2V-hEjlf5JBE5ieuDvKsGX95LM3IJ8zq-CDL9Xmwu9cW6iRN6Jq1nL8qkvSE\" style=\"width: 1600px;\"><\/p>\n\n\n\n<p>Search for the EC2 service.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/H9nF0fuWh5HZ0MowKxYQfJSw1wCyWpm1a1T_DBShNUwWn562loTBJ-Y26yqHFA1Hm6gOCcv8cHGDaIbDZpMQackzpOOUS06cS4cqkbwqRbt_jJLNmJUXMDnWZi9MdhRemQEU_pyy\" alt=\"How to launch and connect to a MacOS instance on Amazon EC2 and access it through a GUI using VNC Client?\"\/><\/figure>\n\n\n\n<p>You will then be navigated to the EC2 dashboard.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/O67283R9JdbWnkbTbrC3xV55qf-CfWMVvdjb5PGAO88WJfS1_2P0b2x7TKc0dfPWNYKtt72RHTzIqqduigtJaRoNRHhLRfkXrW0oEYbpKFNXFMadTH3C44NE5vSuLSMn2s_VHpN5\" alt=\"\"\/><\/figure>\n\n\n\n<p>In the left navigation pane, click on Dedicated Hosts.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/amz68IFBH1AQjAIzd4hcRmMh3HfeM_ZXvWgMN59gh6x33tMByBqPl_bUPk_XPOrgZ60YBujvYGdf53rOGhRUB5UnRzgBgmD9dO9upp_yGdTy6-6FZPmIYNXgnuNl-mJ6YoqYY4gz\" alt=\"How to launch and connect to a MacOS instance on Amazon EC2 and access it through a GUI using VNC Client?\"\/><\/figure>\n\n\n\n<p>On the dashboard, click on Allocate Dedicated Host.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/hdZU4FPRfVytw9UCbBjXbEGnRjtkOZ3fxrO8XQiiiPwXjFR_pTiAEahv3rQzS-UHPzQvwvKFD8xdsFohJsIK3-qOpkgsxbADTOtjDCDB9_yS_GQrAHmFDCpGfSBpIJRTGx9F4dhw\" alt=\"\"\/><\/figure>\n\n\n\n<p>You will have to fill in the details over here as shown in the images below before creating a MacOS Instance.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/l_D1JfDrzQOqmUUsQC__HJjLJlXhcAmndRy8FhPMua0ZFHYYCO0Cr1Q3yX8g9fNRq0wr6mntdMJZpFAtUU0BA6d7RMKgGrHrJpG6jIOjrt_iZ_OddQb-XSibsZc3sZ67vz0_gP5B\" alt=\"How to launch and connect to a MacOS instance on Amazon EC2 and access it through a GUI using VNC Client?\"\/><\/figure>\n\n\n\n<p>Enter a name for the dedicated host and in the instance family dropdown, search for mac1.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/Tvx0AlDaXYI_T6PjShLPMvMeFUL_bfrqvbMvsTIWK08JXNuB4f4VyETHv8MuvJLSJJNxp4Z8RkhVoe-3RbTUckPZU7pyR23YjeWnO_U1bzecZgBviXtWcAu3p2Nk8WAsHNuMayOP\" alt=\"\"\/><\/figure>\n\n\n\n<p>For instance type, select mac1.metal from the dropdown.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/Jliw1dig_-qN6X5jjwLbPuUqDqGy1HqiU8x2vR5u8GxTI5rQanlOypn3Gu_yGoC_fwQTbJIPm4Oql_AzBBAWoCaRQkmiCclEedMnk4-iE41Ay-VK8Lft-W9prxdq1-EkiOJ0bE5v\" alt=\"\"\/><\/figure>\n\n\n\n<p>Choose an availability zone for your dedicated host.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/AKGMEE07o3yY0E6oLKIKo3OC0DIvRlwwu8-1M-07LSPEwK1tZhlw8QDsgaTCD3Tln8JPom4lL3M5dtSXc-exPU3A6p1z9W8U-OrOgfhEFb5MJrRyJyRLx64AMTaqSRKdRP0eYT5G\" alt=\"How to launch and connect to a MacOS instance on Amazon EC2 and access it through a GUI using VNC Client?\"\/><\/figure>\n\n\n\n<p>If you expand CLI commands, you will get to see that you can execute commands on your instance on startup.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/tUT8LnH9vPym_MOQ9Djjs9ACw-PQyPy8F8qBP2QLzvh3WFWg8JX-YuHULIwnR0GybZVd9knkj-zcpRf-63p8u-Ngdn8FtWUzmd7fUmz7Qoz_ZPu-rbANlhDrVI9ravVyJKv8ZvWN\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Add tags for your dedicated host (if needed) and leave all the other settings to its default configuration. Click on Allocate.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/F0oAkAINp4DTQd10X5h02_eGfYTkj7JPWe1u3LMVG_9PwYklfzFL-A6iGdJkiAUvPlIe6ohcrGPD2YD05jz_3bNvMH6I2xhovtXvrHx0qlod7qAbDbkFlZ44OIP0fDfALiuPkhge\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">On success, you will see the message as shown in the image below and a new dedicated host will then be available to be attached to the EC2 instance.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/7QOr58fba-cd4NlcvT5FC_mqrtvd1vm-LD-hHbQnh67kzERtejxX4cEXnppfHi_-OI-Yg7LPNzw-jUIcnQFIzoSijc8HIqGopwKplmM98sz5XoVn9yZLWIYPkYLB_0a5leAcbuPN\" alt=\"How to launch and connect to a MacOS instance on Amazon EC2 and access it through a GUI using VNC Client?\"\/><\/figure>\n\n\n\n<p>Search for the VPC service.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/gaZduPo6e8ZhAOEmWX3RaQ1r3S6E3Y7u9FpQMZOA9uRkNybCexF8Uc6f7HXOID1TV2KxFQjjc_f-4YNhaKlXDRJf11PV944iBFMDDQtTkSPivejtNwlv_ADvFG5UMrNdNN-uuBbM\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Next, you need to ensure that your subnet has the \u201cEnable auto-assign public IPv4 address\u201d checked (enabled). This is to be ensured since you will have to connect to your EC2 instance to make sure the SSM agent is installed on your instance. Without the public IPv4 address, you will not be allowed to connect to your instance.<\/p>\n\n\n\n<p>To enable\/verify it, navigate to the Amazon VPC dashboard.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/V262DlpYoh2DIe4En7sg40nhv9NQKon_nrkp-Dl4dIqUO4di_lmPmROiFlASYWenLmThTRreF67sruR2tWAHJtBDsulswjfa0a3J91q46IEg0Ed6IulAzFWanWWZXhi926dWfm5K\" alt=\"How to launch and connect to a MacOS instance on Amazon EC2 and access it through a GUI using VNC Client?\"\/><\/figure>\n\n\n\n<p>Click on \u201cSubnets\u201d on the left navigation pane under the \u201cVirtual Private Cloud\u201d section.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/X4HDvPF1Ti_5nqudcWNaRpY98X3qaThIWScNLxhRPPxzucai02jSVmOBGUT_jye9VJTI61GU_0YutCyIuDUWcGFXr5dATNKkyDvIZ-cZg8Fs5gaWPPDnLlA-E3fMLNdirAHd6zxQ\" alt=\"\"\/><\/figure>\n\n\n\n<p>Select your subnet in which you will be creating your instance and click on \u201cActions\u201d.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/LKQ8tsb4LubVJGt5bRM_vJfuBxNESyEonvAviEZR4QDtiHtRISXc_XPKtgPjmxuOV9-MD4cKrA_8zLwoSpBQBCT9sxoaJek4-Pt1CtTC9aBGfofH-IrYwMva3cgRg8Ws9HeKUxeQ\" alt=\"How to launch and connect to a MacOS instance on Amazon EC2 and access it through a GUI using VNC Client?\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Select \u201cModify auto-assign IP settings\u201d. Ensure that the checkbox for \u201cEnable auto-assign public IPv4 address\u201d is checked and click on \u201cSave\u201d.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/jYC2moogTDIHK5tc3EPc8juyuUpwuRNDq2x8TDG-MV7_Qlncz-YYlFXZCywCU_BzOUtSLOyw7m6fjmZPJnRSNjQAj3k47tfmce-7CkAebIoCHi8KFTGA7tGqiLYpDwUwJRj8-OcT\" alt=\"\"\/><\/figure>\n\n\n\n<p>On success, you will get a success message as shown in the below image.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/LELwwbEy5jE_Dq_M26b8h4SlmYwehMij6DDi-9PXtDrXOORRRLlyyDZKR0tCVnlc3tniNRZwV9TtNq5c_be8wwneI4Lvhp7xetz8iHjxUjMH2AqY8xDVSR1dXnKtfB6fHoezDd1C\" alt=\"\"\/><\/figure>\n\n\n\n<p>Navigate back to the EC2 dashboard and click on Launch instance.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/cm50KL8wLDgS7R0kU7bMNvl8EUDGG_0nVR1Cwte_SiBsxN3yDeyzY-AT2TKM08rKCBf9wgCkWDRwoQzYp5Fm4is4cJz1f02bLmnVZkKIeiQW-ktbzrrocWXHlN-tZUQmc9hwz8Mg\" alt=\"\"\/><\/figure>\n\n\n\n<p>Select Launch instance from the dropdown.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/kXyd8BeSfqzEItgYE9xGmMcVoEWE674PWMzlVU2QQBZbt-OzUyKSg7v9UjRsSjBUF5QLRw8wOpxlHKQxSQ2-1r4rSF3ruFBf0RRALjb8oz8qY35vvAj91KAzqJoWhgfM7EkYvGmS\" alt=\"How to launch and connect to a MacOS instance on Amazon EC2 and access it through a GUI using VNC Client?\"\/><\/figure>\n\n\n\n<p>From the list of EC2 instances, select either MacOS Big Sur 11.5.1 or MacOS Cataline 10.15.7 based on your requirements.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/FxRi4aBi7iAdefjfsyiJ7CRSJysjJGkaWSHJ7AXgsyMI3xsIAUUvoCLsp9CNPL8MpVVyKs9YboKdgkBfHyzseHXrJD0Zz5_m6o5jY1bEnSqxdj7Sq8QBCHrZGCgzj-LmLMbmsA_0\" alt=\"\"\/><\/figure>\n\n\n\n<p>In the next step, select mac1 and click on Next.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/73dqdfTtAdA4v2Zl8K4mR2eqbTXUDTGC_kp4opk47PmihXTGSrvdN5axP4nuM3BJGzFF9AHwm3U93hxm9etTieEvicMJEifHlz8CQXFU8HbRU-AcgrHlmkNnJJ7nLd4vSPCECBcK\" alt=\"\"\/><\/figure>\n\n\n\n<p>Select the VPC and the subnet in which you created the dedicated host.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/c4jjKi03OIFSWa6sK8FCqzmPeQ4SM1reQjTJY5KvAvw9rOX06UkUvhVFoHt_Ki37xxQEdBWZqonL0f9fFgl-Ur02YZCwJRg8a8ODcAxUupa_iRc9Ty6X2tq_jB1V1q9hXwIEZ7Jw\" alt=\"How to launch and connect to a MacOS instance on Amazon EC2 and access it through a GUI using VNC Client?\"\/><\/figure>\n\n\n\n<p>Scroll down and under Host, select the dedicated host that you created above.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/obn1C67XmIcc2A_czxJDfg4_ld7_14rQXKMAsHmn6qZ6il0sf9DdLGdiqSJ1gZvqOZWIXz0leinPizmiha0Mney3HQyvR1R2fni3NFZNIJpftuRZ56yjOiWCfiPtuTNY5UvVzhCB\" alt=\"\"\/><\/figure>\n\n\n\n<p>While adding storage, make sure you add the storage size as per your requirements for smooth GUI flow.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/GaW3Rnd_N2SRhjhy-Bw7I-HlTV0Ed4qop2nCHb1HyeCjx5Ba01Tndj2GjV56UK8wsoOFyjnulBNseLERlD3wAUsCIhDXcC286jhvrSISk3fEV8umfRH7cVfY2t8KF63fZaoI7Zey\" alt=\"How to launch and connect to a MacOS instance on Amazon EC2 and access it through a GUI using VNC Client?\"\/><\/figure>\n\n\n\n<p>In the next step, add tags if you need any for your EC2 instance.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/rMxmNzsyb6W2F0vmPoKS-6xP-0-n3BApNUzjOAYbfYgCbjfyXNHYnXEn1GJvnirAvW5KlUJBaQmPinqHMQoudT0BoJ8L6jbW9Yu5sWxnxaIJpjAJ1A68ZpX5AFIeGF9jg3OaOM6-\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">While configuring the security groups, create a new security group to allow SSH to your PC\u2019s IP so that you can connect to your EC2 instance via your local machine.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/0cgYc9i8hmTEeza4xRpvmhRqb3dnZk6kXuTku5n4bi0icM7Jr_Aq-HSouCQAJ7FCcBm6zVDf0gxLRIn20BOdHQcLV2Gzsgx41rJ3-ssyW2fl8CeTMITg5tMKYC-eZlvMewQMq2vy\" alt=\"\"\/><\/figure>\n\n\n\n<p>Finally, review all the settings and click on Launch.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/0jKhZfkIB2FGf7MuNjxd7kWAfNmuZtJXMuCA61qDV95Y8wDU8VoA9ftclrSakxRr7qJo0a-sm25Cav6mdZbza0p2MFdutZs-dTXMPaBDh_iyNUtmKBXOHymt8KqH6VnpcaXzkJpf\" alt=\"\"\/><\/figure>\n\n\n\n<p>Create a new key pair and download it before you proceed.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/5Jga7vPGCJrjEHgUvRzZn64V9JtC3lfHzCUTSKY2Ofr3_iMU72dbtD76GUQfIQZkURVd-QoUZctK4OjsMMRY-dWvPDr3Sor-oxatVYQvlGyvpDzpS4slpHBz-0OCGOiG7b4OAIiD\" alt=\"How to launch and connect to a MacOS instance on Amazon EC2 and access it through a GUI using VNC Client?\"\/><\/figure>\n\n\n\n<p>Once done, your instance will be up and running in a few minutes.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/BKWom0rbcjIU-fIW5YcO7GVg-14WwEwN-kwYrBxv22CuFBZQGd_UziBxsxFZdcirNA38BWCgW-IrczvOTFM_BtWvym20voWbQuLK5CnkBUa0K3o0VE00ZLiZTb6Ge1XIeJnEQ5K5\" alt=\"\"\/><\/figure>\n\n\n\n<p>Scroll down and click on View instances.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/qV7lyq38pKxZRC2sUuHd3Ek8qCI6s4N1j8uyVFYq5N0Py7g6GaMeBjgEerhH8LDQUfTxl3drZWGoaqWK1ke4rd6ZMXFluYTlCVtXk0NErv9n4C4jxTCE4g31nQPh-M9iDD5LP0Q0\" alt=\"\"\/><\/figure>\n\n\n\n<p>Search for the instance that you created above.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/x0Bl69HTKu3I2CJYXF_5vFkSUtOo-O4NDWB21i16iGxAGyVRHTiUFZk6LuoZHSWiRsGvBeoTOaHfilMBXs2kaAW7cIGfxGJee9LMTKYcQx9v0OoTYuqZoIBp4TD6dRI33LSLUp4V\" alt=\"How to launch and connect to a MacOS instance on Amazon EC2 and access it through a GUI using VNC Client?\"\/><\/figure>\n\n\n\n<p>On successful Status check, you will see the green mark as shown in the image below.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/uICkI1XQ5WRDFDx5X03XdE2-X9-sFPpo8qnYNdD57kGgwgInvkjVIc1FDvy7adYYdmNqT61XOgWxwBKv9cUoVUzEd-mlurL39NVByNmkk3Ij6JDi21kw-gLwaAojgRdFXETKoyqp\" alt=\"\"\/><\/figure>\n\n\n\n<p>Select the instance and click on Actions. Click on Connect.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/xL7cgIQ6KkaQS1nq_oDwRkXl4P4A4ktkWPRkzYmHZizH40MsWZ_9sKPJ-ETkITAXLYsqk7GJFTQkaDOqrFW_5bfd05I0cZ2YLywMHvf03PU9_HnPU4Oo1vM34XH-aAM7BhbWevWf\" alt=\"\"\/><\/figure>\n\n\n\n<p>You can either choose to connect via EC2 connect or via SSH client. Click on the SSH client tab.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/NS2vWRppo9MkCNbP0C_vy3-UNbuV0rpA9g3kjF_Wuvpvqi0cPoudSvjVjqDnUOiVzNew0hHYs4uf0T3mnIFnhbOotHq3NTLQa1YCcXVrubIAeJyvNipo27o1octjverLPhDDdIGx\" alt=\"How to launch and connect to a MacOS instance on Amazon EC2 and access it through a GUI using VNC Client?\"\/><\/figure>\n\n\n\n<p>Copy the command shown in the example section.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/hL9mfUo24k9aSVhvfG0gpFhpCC-ooTg7dBfoZpkp4ZKecrQ9bPqTmAupwh7Kiok7Bmy1O89LZq7ZL8NUEQI3zks-fNH5LdKrkfrxRBxOXTN-ZYv2jLu2MVhE4ZmZ5cMYZsHAKgrX\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Navigate to the folder that contains your key pair (.pem) file. Run the copied command in the git bash. On successful connection, you will see the screen as shown in the image below.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/b3ywIorKfOFk47fe0qBxg1hFTINguVcisPc8fffhcoY56rcfJo7GIXWSiYcgV9Zt8ixPFT4V-7OqAPfiwDLf5OTcPAjJ2Kl5jbp145eGFWuybh-yihNLwE3CFkZgkSz2EtU0OPBe\" alt=\"\"\/><\/figure>\n\n\n\n<p>Now execute:<\/p>\n\n\n\n<p>sudo passwd ec2-user<\/p>\n\n\n\n<p>To configure a password.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/aNp2HA_J-wy6kVhavxJN6GRf6Rert24NmviEUMZONwjZ7eXDmkbKQ_UYm0S-qAGYIVDKYiRk0taopZPpa8eUANKIFuEEln9hRJBjOMqxT2BFk1PGHcXWjjLAYuLEI1iKBQtTijtJ\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-justify\">Navigate to <a href=\"https:\/\/www.realvnc.com\/en\/connect\/download\/viewer\/\">https:\/\/www.realvnc.com\/en\/connect\/download\/viewer\/<\/a> and download the vnc if you are using Windows OS. Click on Finish after installation completion.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/LDndUkydJlMh_9OY8hR-JUtYJbaOaV1c6cxiQLcrUk-M97Z0UDzy3JoepT1cN65huWt5nGSEtMTmLaGZnOCOvZrVCzfttWtQqP8pwDLVEYevENOlvab-CP_ZTJkYlZi3n6hVkwCm\" alt=\"How to launch and connect to a MacOS instance on Amazon EC2 and access it through a GUI using VNC Client?\"\/><\/figure>\n\n\n\n<p>Execute the command:<\/p>\n\n\n\n<p>chsh -s \/bin\/bash<\/p>\n\n\n\n<p>To change the shell to bash scripting.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/lJ_J9J5Psk8dGZ-UTQe80H56SbZ1cP5KmnLW6VIcYVJmTs7-5e0AAEXDlfzRmVaY1PTw92NATj5wKV_AaGkJkkJCKzTGa1EgQKzFRCJG7-829L7mQ1k2A_0pz0gN2lC_Djn8_p50\" alt=\"\"\/><\/figure>\n\n\n\n<p>Execute the command:<\/p>\n\n\n\n<p>sudo \/System\/Library\/CoreServices\/RemoteManagement\/ARDAgent.app\/Contents\/Resources\/kickstart -activate -configure -access -on -restart -agent -privs -all<\/p>\n\n\n\n<p>To activate Remote Management.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/BowtgnfaPBw0K6w-48En4R7SW6ji0oQv6dOBb5zA_8D9NXT8eXb-yXzf27TLTkgW433o5D2uOt9HG5XwpU_VaQHMMxz9XOreoCeYZf1lRXjvP85oZAcvv7Sh_oQbcBhGsvQ6K3EN\" alt=\"\"\/><\/figure>\n\n\n\n<p>Execute the command:<\/p>\n\n\n\n<p>ssh -L 5900:localhost:5900 -i &#8220;gametech.pem&#8221; ec2-user@13.212.48.100<\/p>\n\n\n\n<p>To move traffic to the localhost.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/CMHcdeKhluym63DpQDvxWtolvnqX3SDeQTkM6tkQN1_Lb2BhCHo2Y9FoF8afE4CJBOP2ttjCSe66kM2FcJktK-jgADjPwYtiHF8aTt2CXDKjO8rLoKn0ft7GUxMfMG-oQH93xMEe\" alt=\"\"\/><\/figure>\n\n\n\n<p>Now, open the VNC Viewer application. Click on Sign in and create a new account.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/fv6zGrXUrFKfurYFME6eHbt9eHuNfkJjRu9NXGsREnYOfzt2AfXFMjRNZ7oJLP99Jh9MZ4Co2EEGbNGizTLBZ91wE-rnKRjRMA9FAtO9xhNBALml-P34c613ZQNYalAisOXkLg8E\" alt=\"How to launch and connect to a MacOS instance on Amazon EC2 and access it through a GUI using VNC Client?\"\/><\/figure>\n\n\n\n<p>You will receive a confirmation email as shown in the image below. Click on Verify email to verify your email.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/u2IVF8DQ4d77vPAWk2kBoB2z96C08OcrP6-1qIEUe8nimOLU2IojHZembmC8wMGNoqQ1clem0QGb9FvWzTzA2Y9PB-ptymp5tzNg4TTq6lhXNL2wJGqkjO697wXmU9_TDNmLzu7Z\" alt=\"\"\/><\/figure>\n\n\n\n<p>Login with your credentials on the application.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/Pp08Jz5jWWNqMzXOv-RWEj94fqw6uvMDueKHVwKNW1lScg-xcyHzv_3syHKvTjo7lNPkiAHlk03Sa27LQy6BTv9X-oLQ3h5wwShspmzrXlzJQrVzhGRSfNwsaN9dmMF0LWkQHPTn\" alt=\"\"\/><\/figure>\n\n\n\n<p>On success, you will see the screen as shown in the image below.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/kSEFM219K_Jv-WXZwWjZCGHaMRpKu7bokrwsB-r0tXxU6LWvLmnqvprUsz2N2-Y6s0ZiJtjX63AxJu9QSitzPNGAn7RqSETjGL8reeH7o-QsXXZFN701ISZcOlBhSnmm4kO1hYLo\" alt=\"\"\/><\/figure>\n\n\n\n<p>Search for localhost:5900 and click on Connect to address.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/s-Y5zCPSGDf9ngJBoT-zPGEvo_ZtQn-9bOmpdbI2yc8C2b2CDtaeFf8k2amVhZqF-fwAD9qvlPW_lW8IACzcKbOovRmtHd74if8FnJAzumWn3V8s_A0MfEinWBdy78oacPYAbGXI\" alt=\"\"\/><\/figure>\n\n\n\n<p>Enter the username as ec2-user and the password as the password that you configured on the git bash command line.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/Uh_XC4dI0lVEd5TobAjwwxcGeitDjbrgcQdS92pssW8IMrY3zlVQRO678hFLaGE6tJxi6IKagODfyj3Xc4SJxCMOKOCQfSKw-2PMs2aFdITcSbyxcxG7VnNKpoGgQ4d1cQfyHBtz\" alt=\"\"\/><\/figure>\n\n\n\n<p>It might take a few minutes to connect and launch the GUI.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/z4nITQ4N1K8c4kC1gU2ilVVZFm6AX8QC34IuxI8jlC84C6YiREE1mizMpc2twqr7wC_MF93LnFjZCbYvaLtcO5OSroQe9skToTzACUZSHSDhCJh0GdtYusKkyQaF31G2hsN7FqqF\" alt=\"How to launch and connect to a MacOS instance on Amazon EC2 and access it through a GUI using VNC Client?\"\/><\/figure>\n\n\n\n<p>Once the GUI starts, enter the password that you configured above.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/kgBUazspPGNZXEQS8aylpzaoVvKWfqBIQ8cwc8dV0dLWz3C10zVt9o9_2jlaNYWebCqsonP-137N2Kxt9Jy79tv6k1Hk4bHBPKKqbiwq_jHfMH2713VCxSoAXUMT1P1BbrG6OACH\" alt=\"\"\/><\/figure>\n\n\n\n<p>On success, you will see that the GUI will be started.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/G6qmfMoO0ufNxO8agQqRq2F6cyi2R1z5ogsIDGXhcTZQwRFi4sfftG50tnfCnjEo4gYMpOYmoeqC90S4B7NBHzjlPRXpQ2Da8kWeQG72TsQ2Bswo3tX1izCVtOg8kxLjdQZ_aglX\" alt=\"How to launch and connect to a MacOS instance on Amazon EC2 and access it through a GUI using VNC Client?\"\/><\/figure>\n\n\n\n<p>Now, let&#8217;s test the OS downloading an application from the App Store. Click on the App Store.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh3.googleusercontent.com\/Yl_Kr2joanPM9UR7IXmjcIitTTPXW95M89-qU1eNq3KIJS1q5yDxn_YowAfOoZSRaZtHrLutmEv7gKjfYX3hk57oBFD3Xh6a0AQ40qh95vZW9u6kLvpd1lz8YpUyRUo_I_R_M-qQ\" alt=\"\"\/><\/figure>\n\n\n\n<p>Search for the application \u2018Scratch\u2019 in the search bar.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh6.googleusercontent.com\/fVu97rgPWObcCIyeuFDdec6SAcW2ob6PjPVAnb0PDbWdmIm6Z1Ls9EBFp23srft8RSq4nIWyjZG7G7SiLiL9AAUr-UzkyYND9DITo2VkY9ECfo5ULwOYVyH4m7s8qQ6CYvcGlZRw\" alt=\"How to launch and connect to a MacOS instance on Amazon EC2 and access it through a GUI using VNC Client?\"\/><\/figure>\n\n\n\n<p>Install the application and click on Open.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh4.googleusercontent.com\/itWXXRRZatajv309GeaL_sL7wc6a7t2w6c_6Ldeh1ZBImLdZ2AydOMaxr2yNvbo6DdooSEbipByfOHTFlMzLGExVixkN4QCRqIEav4HYQhELjcTnatsJ1XzmwluIwLmxz1B4BHTF\" alt=\"How to launch and connect to a MacOS instance on Amazon EC2 and access it through a GUI using VNC Client?\"\/><\/figure>\n\n\n\n<p>As you can see, the application is up and running.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/lh5.googleusercontent.com\/hgKF0DNoqJLwjISRN5tnIc2BiKqvOVQZHu84LtjTBjbO2zoHQ36BTpqCMLGU-a169EMvPeVhTdcpTjpK0ygn0IjIhAVKM1BQS_nC49uhH07N4qwHDw7H3gsBq38v34GFTXWo9vLT\" alt=\"How to launch and connect to a MacOS instance on Amazon EC2 and access it through a GUI using VNC Client?\"\/><\/figure>\n\n\n\n<h2>Conclusion<\/h2>\n\n\n\n<p class=\"has-text-align-justify\">In this blog, we saw how Mr. James could quickly get started launching a MacOS Instance and connecting to its GUI (MacOS) to accomplish its time-constraint task. We had a look at how we can create a dedicated host for a macOS Instance. We then switched on the auto-assigning of IPv4 addresses to the instances. Moving further we saw how to create a macOS Instance with the newly created dedicated host attached to it. Then we assigned the storage for smooth flow of the GUI and created a security group to connect to the instance via a local machine with SSH rule attached to it. We then executed a few commands on the command line to change the flow of traffic and start up the Remote Management. Since Mr. James has Windows OS, we saw how to install the RealVNC Viewer, and created an account to start up the macOS GUI on Windows. At last, we tested the connection by installing an application from the App Store and running it. We will discuss more use cases of Amazon EC2 MacOS Instances in our upcoming blogs. Stay tuned to keep getting all updates about our upcoming new blogs on AWS and relevant technologies.<\/p>\n\n\n\n<p>Meanwhile \u2026<\/p>\n\n\n\n<p><strong>Keep Exploring -&gt; Keep Learning -&gt; Keep Mastering<\/strong><\/p>\n\n\n\n<p class=\"has-text-align-justify\">This blog is part of our effort towards building a knowledgeable and kick-ass tech community. At <a href=\"https:\/\/www.workfall.com\/\">Workfall<\/a>, we strive to provide the best tech and pay opportunities to AWS-certified talents. If you\u2019re looking to work with global clients, build kick-ass products while making big bucks doing so, give it a shot at<a href=\"https:\/\/www.workfall.com\/partner\/\"> workfall.com\/partner<\/a> today.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\">11<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span> Amazon EC2 MacOS Instances allow to execution of on-demand MacOS workloads in the cloud, expanding AWS&#8217; flexibility, scalability, and cost advantages to all Apple developers. Developers working on apps for the iPhone, iPad, Mac, Apple Watch, Apple TV, and Safari may use EC2 MacOS Instances to provision and access MacOS environments in minutes, dynamically scale [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":173,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[2],"tags":[3,11,13,12,6],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to launch and connect to a MacOS instance on Amazon EC2 and access it through a GUI using VNC Client? - The Workfall Blog<\/title>\n<meta name=\"description\" content=\"Amazon EC2 MacOS Instances allow to execution of on-demand MacOS workloads in the cloud, expanding AWS&#039; flexibility, scalability, etc.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-launch-and-connect-to-a-macos-instance-on-amazon-ec2-and-access-it-through-a-gui-using-vnc-client\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to launch and connect to a MacOS instance on Amazon EC2 and access it through a GUI using VNC Client? - The Workfall Blog\" \/>\n<meta property=\"og:description\" content=\"Amazon EC2 MacOS Instances allow to execution of on-demand MacOS workloads in the cloud, expanding AWS&#039; flexibility, scalability, etc.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-launch-and-connect-to-a-macos-instance-on-amazon-ec2-and-access-it-through-a-gui-using-vnc-client\/\" \/>\n<meta property=\"og:site_name\" content=\"The Workfall Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/workfall\" \/>\n<meta property=\"article:published_time\" content=\"2021-10-27T06:02:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-05-08T11:30:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/10\/EC2MacInstance-1200-x-628-px.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@workfall\" \/>\n<meta name=\"twitter:site\" content=\"@workfall\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Workfall\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"21 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/18.141.20.153\/learning\/blog\/#organization\",\"name\":\"Workfall - Hire #Kickass Coders On Demand\",\"url\":\"https:\/\/18.141.20.153\/learning\/blog\/\",\"sameAs\":[\"https:\/\/www.instagram.com\/workfall\/\",\"https:\/\/www.linkedin.com\/company\/workfall\/\",\"https:\/\/facebook.com\/workfall\",\"https:\/\/twitter.com\/workfall\"],\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/18.141.20.153\/learning\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/i1.wp.com\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/cropped-WF_logo.png?fit=400%2C400\",\"contentUrl\":\"https:\/\/i1.wp.com\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/cropped-WF_logo.png?fit=400%2C400\",\"width\":400,\"height\":400,\"caption\":\"Workfall - Hire #Kickass Coders On Demand\"},\"image\":{\"@id\":\"https:\/\/18.141.20.153\/learning\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/18.141.20.153\/learning\/blog\/#website\",\"url\":\"https:\/\/18.141.20.153\/learning\/blog\/\",\"name\":\"The Workfall Blog\",\"description\":\"#Tech #Remote #Jobs\",\"publisher\":{\"@id\":\"https:\/\/18.141.20.153\/learning\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/18.141.20.153\/learning\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-launch-and-connect-to-a-macos-instance-on-amazon-ec2-and-access-it-through-a-gui-using-vnc-client\/#primaryimage\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/10\/EC2MacInstance-1200-x-628-px.png\",\"contentUrl\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/10\/EC2MacInstance-1200-x-628-px.png\",\"width\":1200,\"height\":628,\"caption\":\"Launch & Connect to a MacOS instance on Amazon EC2\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-launch-and-connect-to-a-macos-instance-on-amazon-ec2-and-access-it-through-a-gui-using-vnc-client\/#webpage\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-launch-and-connect-to-a-macos-instance-on-amazon-ec2-and-access-it-through-a-gui-using-vnc-client\/\",\"name\":\"How to launch and connect to a MacOS instance on Amazon EC2 and access it through a GUI using VNC Client? - The Workfall Blog\",\"isPartOf\":{\"@id\":\"https:\/\/18.141.20.153\/learning\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-launch-and-connect-to-a-macos-instance-on-amazon-ec2-and-access-it-through-a-gui-using-vnc-client\/#primaryimage\"},\"datePublished\":\"2021-10-27T06:02:16+00:00\",\"dateModified\":\"2023-05-08T11:30:48+00:00\",\"description\":\"Amazon EC2 MacOS Instances allow to execution of on-demand MacOS workloads in the cloud, expanding AWS' flexibility, scalability, etc.\",\"breadcrumb\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-launch-and-connect-to-a-macos-instance-on-amazon-ec2-and-access-it-through-a-gui-using-vnc-client\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-launch-and-connect-to-a-macos-instance-on-amazon-ec2-and-access-it-through-a-gui-using-vnc-client\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-launch-and-connect-to-a-macos-instance-on-amazon-ec2-and-access-it-through-a-gui-using-vnc-client\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/18.141.20.153\/learning\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to launch and connect to a MacOS instance on Amazon EC2 and access it through a GUI using VNC Client?\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-launch-and-connect-to-a-macos-instance-on-amazon-ec2-and-access-it-through-a-gui-using-vnc-client\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-launch-and-connect-to-a-macos-instance-on-amazon-ec2-and-access-it-through-a-gui-using-vnc-client\/#webpage\"},\"author\":{\"@id\":\"https:\/\/18.141.20.153\/learning\/blog\/#\/schema\/person\/cab8236044692bc5b27606b13167794a\"},\"headline\":\"How to launch and connect to a MacOS instance on Amazon EC2 and access it through a GUI using VNC Client?\",\"datePublished\":\"2021-10-27T06:02:16+00:00\",\"dateModified\":\"2023-05-08T11:30:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-launch-and-connect-to-a-macos-instance-on-amazon-ec2-and-access-it-through-a-gui-using-vnc-client\/#webpage\"},\"wordCount\":2113,\"publisher\":{\"@id\":\"https:\/\/18.141.20.153\/learning\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/learning.workfall.com\/learning\/blog\/how-to-launch-and-connect-to-a-macos-instance-on-amazon-ec2-and-access-it-through-a-gui-using-vnc-client\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/10\/EC2MacInstance-1200-x-628-px.png\",\"keywords\":[\"AWS\",\"ec2\",\"ec2instance\",\"macOS\",\"workfall\"],\"articleSection\":[\"AWS Cloud Computing\"],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/18.141.20.153\/learning\/blog\/#\/schema\/person\/cab8236044692bc5b27606b13167794a\",\"name\":\"Workfall\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/18.141.20.153\/learning\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/09\/avatar_user_1_1693914404-96x96.png\",\"contentUrl\":\"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/09\/avatar_user_1_1693914404-96x96.png\",\"caption\":\"Workfall\"},\"sameAs\":[\"https:\/\/www.workfall.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to launch and connect to a MacOS instance on Amazon EC2 and access it through a GUI using VNC Client? - The Workfall Blog","description":"Amazon EC2 MacOS Instances allow to execution of on-demand MacOS workloads in the cloud, expanding AWS' flexibility, scalability, etc.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-launch-and-connect-to-a-macos-instance-on-amazon-ec2-and-access-it-through-a-gui-using-vnc-client\/","og_locale":"en_US","og_type":"article","og_title":"How to launch and connect to a MacOS instance on Amazon EC2 and access it through a GUI using VNC Client? - The Workfall Blog","og_description":"Amazon EC2 MacOS Instances allow to execution of on-demand MacOS workloads in the cloud, expanding AWS' flexibility, scalability, etc.","og_url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-launch-and-connect-to-a-macos-instance-on-amazon-ec2-and-access-it-through-a-gui-using-vnc-client\/","og_site_name":"The Workfall Blog","article_publisher":"https:\/\/facebook.com\/workfall","article_published_time":"2021-10-27T06:02:16+00:00","article_modified_time":"2023-05-08T11:30:48+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/10\/EC2MacInstance-1200-x-628-px.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_creator":"@workfall","twitter_site":"@workfall","twitter_misc":{"Written by":"Workfall","Est. reading time":"21 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/18.141.20.153\/learning\/blog\/#organization","name":"Workfall - Hire #Kickass Coders On Demand","url":"https:\/\/18.141.20.153\/learning\/blog\/","sameAs":["https:\/\/www.instagram.com\/workfall\/","https:\/\/www.linkedin.com\/company\/workfall\/","https:\/\/facebook.com\/workfall","https:\/\/twitter.com\/workfall"],"logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/18.141.20.153\/learning\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i1.wp.com\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/cropped-WF_logo.png?fit=400%2C400","contentUrl":"https:\/\/i1.wp.com\/18.141.20.153\/learning\/blog\/wp-content\/uploads\/2021\/10\/cropped-WF_logo.png?fit=400%2C400","width":400,"height":400,"caption":"Workfall - Hire #Kickass Coders On Demand"},"image":{"@id":"https:\/\/18.141.20.153\/learning\/blog\/#\/schema\/logo\/image\/"}},{"@type":"WebSite","@id":"https:\/\/18.141.20.153\/learning\/blog\/#website","url":"https:\/\/18.141.20.153\/learning\/blog\/","name":"The Workfall Blog","description":"#Tech #Remote #Jobs","publisher":{"@id":"https:\/\/18.141.20.153\/learning\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/18.141.20.153\/learning\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-launch-and-connect-to-a-macos-instance-on-amazon-ec2-and-access-it-through-a-gui-using-vnc-client\/#primaryimage","url":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/10\/EC2MacInstance-1200-x-628-px.png","contentUrl":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/10\/EC2MacInstance-1200-x-628-px.png","width":1200,"height":628,"caption":"Launch & Connect to a MacOS instance on Amazon EC2"},{"@type":"WebPage","@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-launch-and-connect-to-a-macos-instance-on-amazon-ec2-and-access-it-through-a-gui-using-vnc-client\/#webpage","url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-launch-and-connect-to-a-macos-instance-on-amazon-ec2-and-access-it-through-a-gui-using-vnc-client\/","name":"How to launch and connect to a MacOS instance on Amazon EC2 and access it through a GUI using VNC Client? - The Workfall Blog","isPartOf":{"@id":"https:\/\/18.141.20.153\/learning\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-launch-and-connect-to-a-macos-instance-on-amazon-ec2-and-access-it-through-a-gui-using-vnc-client\/#primaryimage"},"datePublished":"2021-10-27T06:02:16+00:00","dateModified":"2023-05-08T11:30:48+00:00","description":"Amazon EC2 MacOS Instances allow to execution of on-demand MacOS workloads in the cloud, expanding AWS' flexibility, scalability, etc.","breadcrumb":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-launch-and-connect-to-a-macos-instance-on-amazon-ec2-and-access-it-through-a-gui-using-vnc-client\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/learning.workfall.com\/learning\/blog\/how-to-launch-and-connect-to-a-macos-instance-on-amazon-ec2-and-access-it-through-a-gui-using-vnc-client\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-launch-and-connect-to-a-macos-instance-on-amazon-ec2-and-access-it-through-a-gui-using-vnc-client\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/18.141.20.153\/learning\/blog\/"},{"@type":"ListItem","position":2,"name":"How to launch and connect to a MacOS instance on Amazon EC2 and access it through a GUI using VNC Client?"}]},{"@type":"Article","@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-launch-and-connect-to-a-macos-instance-on-amazon-ec2-and-access-it-through-a-gui-using-vnc-client\/#article","isPartOf":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-launch-and-connect-to-a-macos-instance-on-amazon-ec2-and-access-it-through-a-gui-using-vnc-client\/#webpage"},"author":{"@id":"https:\/\/18.141.20.153\/learning\/blog\/#\/schema\/person\/cab8236044692bc5b27606b13167794a"},"headline":"How to launch and connect to a MacOS instance on Amazon EC2 and access it through a GUI using VNC Client?","datePublished":"2021-10-27T06:02:16+00:00","dateModified":"2023-05-08T11:30:48+00:00","mainEntityOfPage":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-launch-and-connect-to-a-macos-instance-on-amazon-ec2-and-access-it-through-a-gui-using-vnc-client\/#webpage"},"wordCount":2113,"publisher":{"@id":"https:\/\/18.141.20.153\/learning\/blog\/#organization"},"image":{"@id":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-launch-and-connect-to-a-macos-instance-on-amazon-ec2-and-access-it-through-a-gui-using-vnc-client\/#primaryimage"},"thumbnailUrl":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/10\/EC2MacInstance-1200-x-628-px.png","keywords":["AWS","ec2","ec2instance","macOS","workfall"],"articleSection":["AWS Cloud Computing"],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/18.141.20.153\/learning\/blog\/#\/schema\/person\/cab8236044692bc5b27606b13167794a","name":"Workfall","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/18.141.20.153\/learning\/blog\/#\/schema\/person\/image\/","url":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/09\/avatar_user_1_1693914404-96x96.png","contentUrl":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2023\/09\/avatar_user_1_1693914404-96x96.png","caption":"Workfall"},"sameAs":["https:\/\/www.workfall.com"]}]}},"jetpack_featured_media_url":"https:\/\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/10\/EC2MacInstance-1200-x-628-px.png","jetpack-related-posts":[{"id":467,"url":"https:\/\/learning.workfall.com\/learning\/blog\/15-awsome-years-of-amazon-ec2-and-still-going-strong\/","url_meta":{"origin":169,"position":0},"title":"15 AWSome years of Amazon EC2 and still going strong!","date":"November 9, 2021","format":false,"excerpt":"This year marks the 15th anniversary of Amazon EC2(Amazon Elastic Compute Cloud), marking a landmark milestone for both the firm and the computing industry it serves. The EC2 instance is at the heart of the AWS cloud platform, allowing users to rent storage, network connectivity, and computation resources. It's difficult\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"AWSome 15 Years of Amazon EC2","src":"https:\/\/i1.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/ec2_15yrs.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":621,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-run-fault-tolerant-workloads-for-up-to-90-off-using-amazon-ec2-spot-instances\/","url_meta":{"origin":169,"position":1},"title":"How to run fault-tolerant workloads for up to 90% off using Amazon EC2 Spot Instances?","date":"November 11, 2021","format":false,"excerpt":"Understanding cloud bills and how to get the most out of the budget on AWS is becoming increasingly important as enterprises migrate more applications and services to the cloud and a larger portion of IT budgets is diverted to cloud providers. With specialized tools, economic models, and best practices, AWS\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"Cost Optimization with EC2 Spot Instances","src":"https:\/\/i2.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/spot.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":125,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-train-a-deep-learning-model-with-aws-deep-learning-containers-on-amazon-ec2\/","url_meta":{"origin":169,"position":2},"title":"How to train a Deep Learning model with AWS Deep Learning Containers on Amazon EC2?","date":"October 26, 2021","format":false,"excerpt":"Data scientists, machine learning engineers, and practitioners must devote significant time and resources to developing, testing, updating, and optimizing Docker images for deep learning. Instead of concentrating on developing and enhancing models, practitioners are forced to divert valuable resources to unrelated tasks. Installing packages, resolving compatibility concerns, performance optimization, and\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"Train a Deep Learning model with AWS Deep Learning Containers on Amazon EC2","src":"https:\/\/i2.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/10\/CoverImages_1200x628px-2.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":456,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-run-commands-remotely-on-an-ec2-instance-using-aws-systems-manager\/","url_meta":{"origin":169,"position":3},"title":"How to run commands remotely on an EC2 instance using AWS Systems Manager?","date":"November 9, 2021","format":false,"excerpt":"If you are a System administrator and assigned a task to upgrade the packages for one application running on an EC2 instance, but due to some security restrictions, you are not permitted to access production instances via SSH or bastion host. In this situation, you can use AWS Systems Manager\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"AWS Systems Manager","src":"https:\/\/i1.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/Systemsmanager.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":399,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-create-and-mount-an-amazon-efs-file-system-using-amazon-ec2-launch-instance-wizard\/","url_meta":{"origin":169,"position":4},"title":"How to create and mount an Amazon EFS file system using Amazon EC2 Launch Instance Wizard?","date":"November 3, 2021","format":false,"excerpt":"Sizing, configuring, and deploying AWS resources for third-party applications, such as SAP or SQL server is always challenging for you. Are you looking for a wizard who can help you with these challenging tasks?\u00a0 AWS Launch Wizard can help you in simplifying these tasks by offering a guided way of\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"How to create and mount an Amazon EFS file system using Amazon EC2 Launch Instance Wizard","src":"https:\/\/i2.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/Launch-Wizard.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":651,"url":"https:\/\/learning.workfall.com\/learning\/blog\/how-to-launch-ec2-spot-instances-using-amazon-ec2-auto-scaling-and-aws-application-load-balancer-part-2\/","url_meta":{"origin":169,"position":5},"title":"How to launch EC2 Spot Instances using Amazon EC2 Auto Scaling and AWS Application Load Balancer (Part 2)?","date":"November 11, 2021","format":false,"excerpt":"A Spot Instance is a virtual machine that runs on spare EC2 capacity that is offered at a lower price than the On-Demand price. Spot Instances allow you to request unused EC2 instances at great discounts, allowing you to dramatically reduce your Amazon EC2 expenditures. A Spot Instance's hourly pricing\u2026","rel":"","context":"In &quot;AWS Cloud Computing&quot;","img":{"alt_text":"Launch EC2 Spot Instances - AWS","src":"https:\/\/i2.wp.com\/learning.workfall.com\/learning\/blog\/wp-content\/uploads\/2021\/11\/CoverImages_1200x628px-2-1.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/posts\/169"}],"collection":[{"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/comments?post=169"}],"version-history":[{"count":7,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/posts\/169\/revisions"}],"predecessor-version":[{"id":2255,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/posts\/169\/revisions\/2255"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/media\/173"}],"wp:attachment":[{"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/media?parent=169"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/categories?post=169"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/learning.workfall.com\/learning\/blog\/wp-json\/wp\/v2\/tags?post=169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}