Skip to content

Latest commit

 

History

History
179 lines (114 loc) · 12.6 KB

File metadata and controls

179 lines (114 loc) · 12.6 KB

Frequently Asked Questions about Amazon EC2 Mac Instances

  1. How do you release a dedicated host?
  2. How many Mac instances can be supported on a Mac dedicated host?
  3. Can you share Mac dedicated hosts with other AWS accounts in your organization?
  4. What macOS AMIs are available?
  5. How do you pass user data or automated configurations to an EC2 Mac instance?
  6. How do you connect to EC2 Mac instances?
  7. How do you connect via remote screen sharing to an EC2 Mac instance?
  8. How do you install Xcode on an EC2 Mac instance?
  9. Is there Wi-Fi and Bluetooth access on Mac instances?
  10. Is there access to the microphone input or audio output on an EC2 Mac instance?
  11. Can you update the EFI NVRAM variables on an EC2 Mac instance?
  12. Can you use FileVault to encrypt the EBS boot volume on EC2 Mac instances?
  13. What is the release cadence of macOS AMIs?
  14. Can you run macOS AMIs anywhere other than EC2 Mac instances?
  15. Can you bring your own macOS image to run on EC2 Mac instances?
  16. What agents and packages are included in EC2 macOS AMIs?
  17. Can you update the agents and packages included in macOS AMIs?
  18. Can you apply OS and software updates to your Mac instances directly from Apple Update Servers?
  19. Do EC2 Mac instances support the Nitro system?
  20. How many EBS volumes and ENIs are supported by EC2 Mac instances?
  21. Do EC2 Mac instances support EBS?
  22. Do EC2 Mac instances support on-demand and spot hibernation?
  23. Do EC2 Mac instances support booting from instance storage?
  24. Do EC2 Mac instances support Auto Recovery or Host Recovery?
  25. Do EC2 Mac instances support Placement Groups?
  26. Do EC2 Mac instances support FSx?
  27. Do EC2 Mac instances support EFS?
  28. Do EC2 Mac instances support Enhanced Networking?
  29. Do EC2 Mac instances support live migration?
  30. Do EC2 Mac instances support network burst capabilities?
  31. Do EC2 Mac instances support Intel virtualization features, such as VT-d and VT-x?

  1. How do you release a dedicated host?

    The minimum allocation period for an EC2 Mac Dedicated Host is 24 hours. After the allocation period has exceeded 24 hours, first stop (or terminate) the instance running on the host, then release the host using the aws ec2 release-hosts CLI command or the AWS Management Console.

  2. How many Mac instances can be supported on a Mac dedicated host?

    EC2 Mac instances are enabled as bare metal; Only one instance is supported on a single dedicated host at a time.

  3. Can you share Mac dedicated hosts with other AWS accounts in your organization?

    Yes. You can share Mac dedicated hosts with AWS accounts inside your AWS organization, an organizational unit inside your AWS organization, or your entire AWS organization via AWS Resource Access Manager. For more information, please refer to the AWS Resource Access Manager documentation.

  4. What macOS AMIs are available?

    The latest versions of following macOS operating systems are available as AMIs in regions where EC2 Mac instances are available: a. macOS Mojave (10.14.x) b. macOS Catalina (10.15.x) c. macOS Big Sur (11.x)

    EC2 Mac instances are based on the 2018 Mac mini, which means Mojave is as 'far back' as you can go, since the 2018 Mac mini shipped with Mojave and Apple hardware only supports the macOS version shipped with the hardware or later.

    • For older macOS versions, you can run a type-2 virtualization layer (e.g. VMware Fusion, Parallels, Anka) to get access to High Sierra or Sierra.
    • For future macOS versions, you can do in-place upgrades on EC2 Mac to the new release until AWS vended AMI is available. Running beta versions is not recommended; we propose customers to wait the release goes GA before doing an in-place upgrade.
  5. How do you pass user data or automated configurations to an EC2 Mac instance?

    Just like EC2 Linux instances, you can pass custom user data to EC2 Mac instances either as cloud-init directives or as shell scripts. You can also pass this data into the launch wizard as plain-text, as a file, or as a base64-encoded-text.

  6. How do you connect to EC2 Mac instances?

    There are multiple ways to connect to EC2 Mac instances: • SSH access via an EC2 Key Pair • Command line access via the SSM Agent • VNC access over an SSH tunnel using the macOS built-in VNC server

  7. How do you connect via remote screen sharing to an EC2 Mac instance? You can enable remote screen sharing on an EC2 Mac instance by activating built-in VNC server via the command line, and then using a local VNC client to connect over an SSH tunnel.

  8. How do you install Xcode on an EC2 Mac instance?

    AWS provides base macOS AMIs without any prior Xcode installation. You can install Xcode (and accept the EULA) just like you would on any other macOS system. For example, run xcode-select --install to install the Xcode command line tools (CLT) via Terminal, then log in to the instance using VNC to click on the popup and accept the EULA. You can also install the latest Xcode IDE from the App Store, or earlier Xcode versions from the Apple Developer website. Once you have Xcode installed, we recommend creating a snapshot of your AMI for future use.

  9. Is there Wi-Fi and Bluetooth access on Mac instances?

    No. There is no access to any Wi-Fi network or Bluetooth devices on EC2 Mac instances.

  10. Is there access to the microphone input or audio output on an EC2 Mac instance?

    There is no access to the microphone input on an EC2 Mac instance. The built-in Apple Remote Desktop VNC server does not support audio output.

  11. Can you update the EFI NVRAM variables on an EC2 Mac instance?

    Yes, you can update certain EFI NVRAM variables on an EC2 Mac instance that will persist across reboots. However, EFI NVRAM variables will be reset if the instance is stopped or terminated. Please see the EC2 Mac instance documentation for more information.

  12. Can you use FileVault to encrypt the EBS boot volume on EC2 Mac instances?

    FileVault requires a login before booting into macOS and before remote access can be enabled. If FileVault is enabled, you will lose access to your data on the boot volume at instance reboot, stop, or terminate. We strongly recommend you do not enable FileVault. Instead, we recommend using Amazon EBS encryption for both boot and data EBS volumes on EC2 Mac instances.

  13. What is the release cadence of macOS AMIs?

    We will make new macOS AMIs available on a best effort basis. You can subscribe to SNS notifications for updates. We are targeting 30-60 days after a macOS minor version update and 90-120 days after a macOS major version update to release official macOS AMIs.

  14. Can you run macOS AMIs anywhere other than EC2 Mac instances?

    No, macOS AMIs are only supported to run on EC2 Mac instances, macOS itself will not boot without recognizing underlying Apple hardware.

  15. Can you bring your own macOS image to run on EC2 Mac instances?

    No, you cannot bring your own macOS images to run on EC2 Mac instances. However, you can install any macOS applications or software within the AWS provided AMI for subsequent use.

  16. What agents and packages are included in EC2 macOS AMIs?

    The following agents and packages are included by default in EC2 macOS AMIs:

    Package Description
    ENA Driver for macOS Enhanced networking adapter driver for macOS
    AWS CLI CLI which enables interaction with AWS services
    EC2-macos-init cloud instance initialization
    Amazon CloudWatch Agent Agent for CloudWatch monitoring
    Chrony Amazon Time Service-compatible NTP
    Homebrew Package manager for macOS
    AWS Systems Manger Agent AWS Systems manager for macOS
  17. Can you update the agents and packages included in macOS AMIs?

    There is a public Github repository and Homebrew tap for all agents and packages added to the base macOS image on Amazon EC2 macOS AMIs. This repository documents the kernel tuning parameters for EC2 Mac instances. You can use brew tap and brew install to install the latest versions of agents and packages on macOS instances. Regular updates to these packages will be done twice a month on the first and third Tuesday of the month. These updates will include all updates to Amazon-owned packages that have been tested and validated. Any security updates will be done on a per-package basis and only for CVEs at the highest level.

  18. Can you apply OS and software updates to your Mac instances directly from Apple Update Servers?

    Automatic Software Updates are turned off by default on macOS AMIs. However, you can turn them on to download the latest macOS and Apple Software updates. See this documentation for how to do so.

  19. Do EC2 Mac instances support the Nitro system?

    Yes. Amazon EC2 Mac instances are built on and support the Nitro system, a collection of hardware offload and server protection components that come together to provide high performance networking and storage resources to EC2 instances.

  20. How many EBS volumes and ENIs are supported by EC2 Mac instances?

    EC2 Mac instances support 16 EBS volumes and 8 ENI attachments.

  21. Do EC2 Mac instances support EBS?

    EC2 Mac instances are EBS optimized by default and offer up to 10 Gbps of dedicated EBS bandwidth to both encrypted and unencrypted EBS volumes.

  22. Do EC2 Mac instances support on-demand and spot hibernation?

    No. EC2 Mac instances do not support on-demand or spot hibernation. EC2 Mac instances are offered as bare metal instances on dedicated hosts.

  23. Do EC2 Mac instances support booting from instance storage?

    No. Mac instances can only be booted from EBS-backed macOS AMIs.

  24. Do EC2 Mac instances support Auto Recovery or Host Recovery?

    No. EC2 Mac instances do not support Auto Recovery or Host Recovery. EC2 Mac instances are offered as bare metal instances on dedicated hosts.

  25. Do EC2 Mac instances support Placement Groups?

    No. EC2 Mac instances do not support Placement Groups. EC2 Mac instances are offered as bare metal instances on dedicated hosts.

  26. Do EC2 Mac instances support FSx?

    Yes. EC2 Mac instances support FSx using the SMB protocol. You will need to enroll the EC2 Mac instance into a supported directory service (such as Active Directory or the AWS Directory Service) to enable FSx on EC2 Mac instances.

  27. Do EC2 Mac instances support EFS?

    Yes, EC2 Mac instances support Amazon EFS.

  28. Do EC2 Mac instances support Enhanced Networking?

    Mac instances support only ENA-based Enhanced Networking. With ENA, Mac instances can deliver up to 10 Gbps of network bandwidth.

  29. Do EC2 Mac instances support live migration?

    No, EC2 Mac instances do not support live migration. EC2 Mac instances are offered as bare metal instances on dedicated hosts.

  30. Do EC2 Mac instances support network burst capabilities?

    No. EC2 Mac instances do not support network burst capabilities. EC2 Mac instances are offered as bare metal instances on dedicated hosts.

  31. Do EC2 Mac instances support Intel virtualization features, such as VT-d and VT-x?

    Yes. x86-based EC2 Mac instances (mac1.metal) support both VT-d and VT-x. EC2 Mac instances are offered as bare metal instances on dedicated hosts.