Mac in Cloud (AWS)— Get Started

Start with conclusion: you can’t use this as sub PC


Request Flow

  1. Find region where we can allocate dedicated host for mac1 instance
  2. go to Service Quotas — Amazon Elastic Compute Cloud (Amazon EC2)
  3. find Running Dedicated mac1 Hosts and request quota increase to 1 or 2
  4. Wait 1 day — even after complete mail, you could not able to allocate host

Setup Flow

  1. Make Internet Gateways
  2. Make Route Table — Register Internet Gateway
  3. Make VPC — Register Route Table
  4. Make Subnets — Connect to VPC
  5. Make Security Group — Connect to VPC — Allow Inbound rules 22(ssh), 5900(vnc), rdp(3389)
  6. Make Network Interface — Connect to Security Group, Subnet, VPC
  7. Create Dedicated Hosts — mac.metal
  8. Create Key Pairs — Download

Connect SSH

ssh ec2-user@{ip} -i {key_file_path}
Nice look

Mac Enable VNC by SSH

  1. vnc
sudo /System/Library/CoreServices/RemoteManagement/ -configure -allowAccessFor -allUsers -privs -all
sudo /System/Library/CoreServices/RemoteManagement/ -configure -clientopts -setvnclegacy -vnclegacy yes
sudo /System/Library/CoreServices/RemoteManagement/ -configure -clientopts -setvncpw -vncpw XXXXXX
sudo /System/Library/CoreServices/RemoteManagement/ -restart -agent -console
sudo /System/Library/CoreServices/RemoteManagement/ -activate
sudo defaults write /var/db/launchd.db/ -dict Disabled -bool falsesudo launchctl load -w /System/Library/LaunchDaemons/
sudo /usr/bin/dscl . -passwd /Users/ec2-user XXXXXX

VNC Client

RDP (optional)

NuoRDS is only mac rdp server as I known, but not like windows rdp server or xrdp




Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store