:doc:`ServiceResource <index>` / Sub-Resource / Instance

********
Instance
********



.. py:method:: EC2.ServiceResource.Instance(id)

  Creates a Instance resource.::

    instance = ec2.Instance('id')

  :type id: string
  :param id: The Instance's id identifier. This **must** be set.
  
  :rtype: :py:class:`EC2.Instance`
  :returns: A Instance resource
  