Engine Yard Developer Center

Use T2 Instances

This is documentation for AWS T2 instances. This new generation, low-cost EC2 instance type provides a baseline level of CPU performance with the ability to burst above the baseline.

T2 instances must be launched into an Amazon Virtual Private Cloud (VPC); they are not supported on the EC2-Cloud platform. Amazon VPC enables you to launch AWS resources into a virtual network that you've defined.

Note: You cannot change the instance type of an existing EC2-Cloud instance to a T2 instance type.

General Purpose (T2)

The HVM instance types, available in all AWS regions, are:

  • Micro
  • Small
  • Medium
  • Large

Get started with T2 instances on Engine Yard

This document describes how to use the T2 instances on Engine Yard.

Prerequisites

Configure T2 instances

You can configure T2 instances when you add new instances to a new or existing environment.

Note: We recommend testing in a staging environment before applying changes in a production environment.

To add a new T2 instance

  1. Ensure that you meet all the prerequisites above.

  2. Add an instance in the usual way.

    See the database docs for more information about adding a database instance to an environment.

  3. Select the appropriate General Purpose T2 instance size consisting of General Purpose (T2) micro, General Purpose (T2) small or General Purpose (T2) medium.

  4. Click Add to Cluster (or Boot This Configuration, if you are re-booting an existing environment).

    See the related documentation for more information on adding instances to your environment.

    Note: If you are adding a T2 database instance, you also need to click Apply to update the database.yml file.

Verify T2 instances

Note: When you are testing in staging, consider the differences between your test and production loads.

To verify T2 instances

  1. Ensure that instance provisioning worked and the instance is running.

    In general, that is enough of an indication that the T2 instance is working fine.

  2. Review the Troubleshooting tips below for more information.
  3. If this is a staging environment and you are finished with testing, be sure and stop any T2 instances to avoid unnecessary charges.
  4. Stop any unneeded T2 instances to avoid unnecessary charges.

FAQs

You might have these questions about T2 instances.

How much does it cost?

See the pricing page for details.

Question about size?

The storage type for T2 is EBS only.

Troubleshooting

This table contains troubleshooting tips related to T2 instances.

SymptomSolution
The T2 instances do not appear in the drop-down list when I try to add an instance. If you have had an Engine Yard account for a while, you might need to create a new Engine Yard account in order to have VPC and use T2 instances. Older Engine Yard accounts did not have VPC.
When I clicked HTTP on the app server, I received a 500 Internal Server Error. If this is the first time provisioning, wait a few minutes and try again.

More information

This table provides other resources related to T2 instances.

For more information about...See...
Adding an instance to an environment Add Instances to an Environment
Amazon Virtual Private Cloud (VPC) VPC on Engine Yard
Hardware-assisted virtual machine (HVM) HVM vs. PV
Supported AWS instances on Engine Yard AWS Instance Type Support
Upgrading your environment Upgrade Guide
Adding a database instance to an environment Add a database replica (slave) to an existing environment

If you have feedback or questions about this page, add a comment below. If you need help, submit a ticket with Engine Yard Support.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

  • Avatar
    Matt Harris

    Looks like this article isn't complete. There are still internal notes in there in all caps. I am curious about whether or not T2 instances can support databases - have you explored that question further yet?

  • Avatar
    Zhen Yin

    Thank you for the comments, the article has been updated.

Please sign in to leave a comment.

Powered by Zendesk