<p>Downloaded Kubernetes 1.1.8 from: </p>

<p><a href="https://github.com/kubernetes/kubernetes/releases/download/v1.1.8/kubernetes.tar.gz" rel="nofollow">https://github.com/kubernetes/kubernetes/releases/download/v1.1.8/kubernetes.tar.gz</a></p>

<p>Followed the instructions at:</p>

<p><a href="https://github.com/kubernetes/kubernetes/blob/master/docs/getting-started-guides/aws.md" rel="nofollow">https://github.com/kubernetes/kubernetes/blob/master/docs/getting-started-guides/aws.md</a></p>

<p>And got the following error:</p>

<pre><code>kubernetes-1.1.8 &gt; ./kubernetes/cluster/kube-up.sh 
... Starting cluster using provider: aws
... calling verify-prereqs
... calling kube-up
Starting cluster using os distro: vivid
Uploading to Amazon S3
Creating kubernetes-staging-0eaf81fbc51209dd47c13b6d8b424149
make_bucket: s3://kubernetes-staging-0eaf81fbc51209dd47c13b6d8b424149/

A client error (NoSuchBucket) occurred when calling the GetBucketLocation operation: The specified bucket does not exist
+++ Staging server tars to S3 Storage: kubernetes-staging-0eaf81fbc51209dd47c13b6d8b424149/devel
usage: aws [options] &lt;command&gt; &lt;subcommand&gt; [&lt;subcommand&gt; ...] [parameters]
To see help text, you can run:

  aws help
  aws &lt;command&gt; help
  aws &lt;command&gt; &lt;subcommand&gt; help
aws: error: argument --region: expected one argument
</code></pre>

<p>AWS Console showed that the bucket was created but was empty.</p>

<p>It's probably a region issue; I'm guessing that the bucket is created in another region than Kubernetes tries to access. 
Looks like the aws cmdline tool is confused about the region: 
<code>aws: error: argument --region: expected one argument</code></p>

<p>When it can't determine the region, it defaults to one of the us regions.</p>

<p>EDIT: the S3 sync is triggered by script <code>cluster/aws/util.sh</code>.
The command executed is <code>aws s3 sync --region ${s3_bucket_location} --exact-timestamps ${local_dir} "s3://${AWS_S3_BUCKET}/${staging_path}/"</code>.</p>

<p>You can add an <code>echo ${s3_bucket_location}</code> before the line above. It should give you more information on what the region is set to.</p>
