Use New Amazon EC2 M1 Mac Situations to Construct & Check Apps for iPhone, iPad, Mac, Apple Watch, and Apple TV
5 mins read

Use New Amazon EC2 M1 Mac Situations to Construct & Check Apps for iPhone, iPad, Mac, Apple Watch, and Apple TV

Final 12 months at AWS re:Invent, Jeff Barr wrote in regards to the thrilling availability of Amazon Elastic Compute Cloud (Amazon EC2) Mac cases. Immediately, we’re asserting the preview of a brand new EC2 M1 Mac occasion.

The introduction of EC2 Mac cases introduced the pliability, scalability, and value advantages of AWS to all Apple builders. EC2 Mac cases are devoted Mac mini computer systems hooked up by Thunderbolt to the AWS Nitro System, which lets the Mac mini seem and behave like one other EC2 occasion. It connects to your Amazon Digital Non-public Cloud (VPC), boot from Amazon Elastic Block Retailer (EBS) volumes, and leverage EBS snapshots, safety teams and different AWS providers. EC2 Mac cases allow you to scale your construct and take a look at fleets of Macs, paying as you go. There is no such thing as a hypervisor concerned, and also you get full naked metallic efficiency of the underlying Mac mini. An EC2 devoted host reserves a Mac mini on your utilization.

The provision (in preview) of EC2 M1 Mac cases enables you to entry machines constructed across the Apple-designed M1 System on Chip (SoC). In case you are a Mac developer and re-architecting your apps to natively help Macs with Apple silicon, you might now construct and take a look at your apps and make the most of all the advantages of AWS. Builders constructing for iPhone, iPad, Apple Watch, and Apple TV can even profit from sooner builds. EC2 M1 Mac cases ship as much as 60% higher value efficiency over the x86-based EC2 Mac cases for iPhone and Mac app construct workloads.

EC2 M1 Mac cases are powered by a mix of two {hardware} elements:

  • The Mac mini, that includes M1 SoC with 8 CPU cores, 8 GPU cores, 16 GiB of reminiscence, and a 16 core Apple Neural Engine.
  • The AWS Nitro System, offering as much as 10 Gbps of VPC community bandwidth and eight Gbps of EBS storage bandwidth by a high-speed Thunderbolt connection.

Find out how to Get Began
As I defined beforehand, when utilizing EC2 Mac cases, there isn’t any digital machine concerned. These are operating on naked metallic servers, every internet hosting a Mac mini. Step one, subsequently, includes grabbing a devoted server. I open the AWS Administration Console, navigate to the Amazon EC2 part, then I choose Devoted Hosts. I choose Allocate Devoted Host to allocate a server to my AWS account.

EC2 Mac2 Instances - Dedicated Hosts

Alternatively, I could use the AWS Command Line Interface (CLI).

➜  ~ aws ec2 allocate-hosts                  
         --instance-type mac2.metallic          
         --availability-zone us-east-2b      
         --quantity 1 
    "HostIds": [

As soon as the host is allotted, I begin an EC2 occasion on it. The process is not any totally different from beginning any EC2 occasion kind. I simply have to make sure I choose a macOS AMI model that fits my necessities. I choose the mac2.metallic occasion kind and choose host Tenancy and the devoted Host I simply created.

EC2 Dedicated TenancyAlternatively, I could use the CLI.

➜ ~ aws ec2 run-instances                                     
	    --instance-type mac2.metallic                             
        --key-name my_key                                      
        --placement HostId=h-0fxxxxxxx90                       
        --security-group-ids sg-01000000000000032              
        --image-id AWS_OR_YOUR_AMI_ID
    "Teams": [],
    "Situations": [
            "AmiLaunchIndex": 0,
            "ImageId": "ami-01xxxxbd",
            "InstanceId": "i-08xxxxx5c",
            "InstanceType": "mac2.metal",
            "KeyName": "my_key",
            "LaunchTime": "2021-11-08T16:47:39+00:00",
            "Monitoring": {
                "State": "disabled"
... redacted for brevity ....

When you use EC2 Mac instances for the first time, you’re likely to ask questions such as, “How do I connect through Apple Remote Desktop?” or “How do I increase the size of the APFS file system on the EBS volume?” The EC2 Mac documentation covers the answers for you and provides examples of commands to run on macOS to perform these common tasks.

I use SSH to connect to the newly launched instance as usual.

EC2 Mac M1 Instance uname -a

I may enable Apple Remote Desktop and start a VNC session to the EC2 instance. The EC2 Mac instance documentation page has the details.

mac2 GUI VNC

Availability and Pricing
EC2 M1 Mac instances are now available in preview in US East (N. Virginia) and US West (Oregon), with other AWS Regions coming at launch.

Pricing metrics are similar to the previous generation of EC2 Mac instances. You are charged per hour of reservation of the dedicated host, not for the time the instance is running, and there is a minimum charge of 24 hours for reserving a dedicated host.

In the two preview Regions, the on-demand price is $0.6498 per hour. You can save up to 42 percent over the on-demand price with Savings Plans. Check our Dedicated Host on-demand pricing page, as well as the Savings Plans page to learn the details.

You can sign up for the preview of EC2 Mac M1 instances today!

— seb

Leave a Reply

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