|
|
@@ -24,7 +24,7 @@
|
|
|
</para>
|
|
|
|
|
|
<sect2 id="zend.service.amazon.ec2.ebs.creating">
|
|
|
- <title>Create EBS Volues and Snapshots</title>
|
|
|
+ <title>Create EBS Volumes and Snapshots</title>
|
|
|
|
|
|
<example id="zend.service.amazon.ec2.ebs.creating.volume">
|
|
|
<title>Create a new EBS Volume</title>
|
|
|
@@ -33,7 +33,7 @@
|
|
|
want the EBS Volume to be in.
|
|
|
</para>
|
|
|
<para>
|
|
|
- <code>createNewVolume</code> will return an array containg information
|
|
|
+ <code>createNewVolume</code> will return an array containing information
|
|
|
about the new Volume which includes the volumeId, size, zone, status
|
|
|
and createTime.
|
|
|
</para>
|
|
|
@@ -51,7 +51,7 @@ $return = $ec2_ebs->createNewVolume(40, 'us-east-1a');
|
|
|
want the EBS Volume to be in.
|
|
|
</para>
|
|
|
<para>
|
|
|
- <code>createVolumeFromSnapshot</code> will return an array containg information about
|
|
|
+ <code>createVolumeFromSnapshot</code> will return an array containing information about
|
|
|
the new Volume which includes the volumeId, size, zone, status, createTime and snapshotId.
|
|
|
</para>
|
|
|
|
|
|
@@ -67,7 +67,7 @@ $return = $ec2_ebs->createVolumeFromSnapshot('snap-78a54011', 'us-east-1a');
|
|
|
Creating a Snapshot of an EBS Volume requires the volumeId of the EBS Volume.
|
|
|
</para>
|
|
|
<para>
|
|
|
- <code>createSnapshot</code> will return an array containg information about the
|
|
|
+ <code>createSnapshot</code> will return an array containing information about the
|
|
|
new Volume Snapshot which includes the snapshotId, volumeId, status, startTime
|
|
|
and progress.
|
|
|
</para>
|
|
|
@@ -80,7 +80,7 @@ $return = $ec2_ebs->createSnapshot('volumeId');
|
|
|
</sect2>
|
|
|
|
|
|
<sect2 id="zend.service.amazon.ec2.ebs.describing">
|
|
|
- <title>Describing EBS Volues and Snapshots</title>
|
|
|
+ <title>Describing EBS Volumes and Snapshots</title>
|
|
|
|
|
|
<example id="zend.service.amazon.ec2.ebs.describing.volume">
|
|
|
<title>Describing an EBS Volume</title>
|
|
|
@@ -93,7 +93,7 @@ $return = $ec2_ebs->createSnapshot('volumeId');
|
|
|
<para>
|
|
|
<code>describeVolume</code> will return an array with information about each Volume which
|
|
|
includes the volumeId, size, status and createTime. If the volume is attached to an instance,
|
|
|
- an addition value of attachmentSet will be returned. Attachment set contains information
|
|
|
+ an addition value of attachmentSet will be returned. The attachment set contains information
|
|
|
about the instance that the EBS Volume is attached to, which includes volumeId, instanceId,
|
|
|
device, status and attachTime.
|
|
|
</para>
|
|
|
@@ -108,7 +108,7 @@ $return = $ec2_ebs->describeVolume('volumeId');
|
|
|
<title>Describe Attached Volumes</title>
|
|
|
<para>
|
|
|
To return a list of EBS Volumes currently attached to a running instance you can call this method.
|
|
|
- It will only return an EBS Volumes attached the passed in instanceId.
|
|
|
+ It will only return EBS Volumes attached to the instance with the passed in instanceId.
|
|
|
</para>
|
|
|
<para>
|
|
|
<code>describeAttachedVolumes</code> returns the same information as the <code>describeVolume</code>
|
|
|
@@ -126,12 +126,12 @@ $return = $ec2_ebs->describeAttachedVolumes('instanceId');
|
|
|
<para>
|
|
|
<code>describeSnapshot</code> allows you to get information on an EBS Volume Snapshot
|
|
|
or a set of EBS Volume Snapshots. If nothing is passed in then it will return information
|
|
|
- about all EBS Volume Snapshots. If only one EBS Volume Snapshot needs to be described it's
|
|
|
+ about all EBS Volume Snapshots. If only one EBS Volume Snapshot needs to be described its
|
|
|
snapshotId can be passed in while an array of EBS Volume Snapshot Id's can be passed in to
|
|
|
describe them.
|
|
|
</para>
|
|
|
<para>
|
|
|
- <code>describeSnapshot</code> will return an array containg informaion about each EBS Volume Snapshot
|
|
|
+ <code>describeSnapshot</code> will return an array containing information about each EBS Volume Snapshot
|
|
|
which includes the snapshotId, volumeId, status, startTime and progress.
|
|
|
</para>
|
|
|
|
|
|
@@ -168,7 +168,7 @@ $return = $ec2_ebs->attachVolume('volumeId', 'instanceid', '/dev/sdh');
|
|
|
<title>Detaching an EBS Volume</title>
|
|
|
<para>
|
|
|
<code>detachVolume</code> will detach an EBS Volume from a running Instance.
|
|
|
- <code>detachVolume</code> required that you specify the volumeId with the optional
|
|
|
+ <code>detachVolume</code> requires that you specify the volumeId with the optional
|
|
|
instanceId and device name that was passed when attaching the volume. If you need to
|
|
|
force the detachment you can set the forth parameter to be true and it will force
|
|
|
the volume to detach.
|
|
|
@@ -186,11 +186,11 @@ $return = $ec2_ebs->detachVolume('volumeId');
|
|
|
<note>
|
|
|
<title>Forced Detach</title>
|
|
|
<para>
|
|
|
- You should only for a detach if the previous detachment attempt did not occur
|
|
|
- cleanly(logging into an instance, unmounting the volume, and detaching normally).
|
|
|
+ You should only force a detach if the previous detachment attempt did not occur
|
|
|
+ cleanly (logging into an instance, unmounting the volume, and detaching normally).
|
|
|
This option can lead to data loss or a corrupted file system. Use this option
|
|
|
only as a last resort to detach a volume from a failed instance. The instance
|
|
|
- will not have an opportunity to flush file system caches nor file system meta
|
|
|
+ will not have an opportunity to flush file system caches or file system meta
|
|
|
data. If you use this option, you must perform file system check and repair
|
|
|
procedures.
|
|
|
</para>
|
|
|
@@ -218,7 +218,7 @@ $return = $ec2_ebs->deleteVolume('volumeId');
|
|
|
<example id="zend.service.amazon.ec2.ebs.deleting.snapshot">
|
|
|
<title>Deleting an EBS Volume Snapshot</title>
|
|
|
<para>
|
|
|
- <code>deleteSnapshot</code> will delete a EBS Volume Snapshot.
|
|
|
+ <code>deleteSnapshot</code> will delete an EBS Volume Snapshot.
|
|
|
</para>
|
|
|
<para>
|
|
|
<code>deleteSnapshot</code> returns booleen true or false.
|