User guide
it's required to set up the S3 bucket.
6.5.4. S3 bucket setup
1. Open the S3 tab in the AWS console.
2. Click on "Create Bucket".
3. Choose a name (clusterbucket123 for example) and click on Create.
Note that bucket names are unique across the entire S3 so you will not be able to use the chosen
name again.
4. Right click over the new bucket and choose Properties.
5. In the permissions tab click on "Add bucket policy".
6. If you click on "New policy" the policy creation wizard will open.
7. For ease of completion the following can be pasted into the policy, but be sure to replace
arn:aws:iam ::05555555555:user/jbosscluster* with the value noted in the previous
procedure:
{
"Version": "2008-10-17",
"Id": "Policy1312228794320",
"Statement": [
{
"Sid": "Stmt1312228781799",
"Effect": "Allow",
"Principal": {
"AWS": [
"arn:aws:iam::055555555555:user/jbosscluster"
]
},
"Action": [
"s3:ListBucketVersions",
"s3:GetObjectVersion",
"s3:ListBucket",
"s3:PutBucketVersioning",
"s3:DeleteObject",
"s3:DeleteObjectVersion",
"s3:GetObject",
"s3:ListBucketMultipartUploads",
"s3:ListMultipartUploadParts",
"s3:PutObject",
"s3:GetBucketVersioning"
],
"Resource": [
"arn:aws:s3:::clusterbucket123/*",
"arn:aws:s3:::clusterbucket123"
]
}
]
}
6.5.5. Launching the JBoss Enterprise Application Platform AMIs
All necessary preparation for running a cluster are now complete. T he final task is to put the right
configuration in the User Data field.
1. Select an AMI.
JBoss Enterprise Application Platform 5 Getting Started on Amazon EC2
20