You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Kiran Koneti <ki...@citrix.com> on 2014/03/07 11:52:11 UTC

Regarding using AWS S3 as secondary storage in CS


 Hi all,

Has anyone configured the AWS S3 as secondary storage for the Cloudsatck ,If yes please let me know the steps to configure it.


Regards,
Kiran.

RE: Regarding using AWS S3 as secondary storage in CS

Posted by Paul Angus <pa...@shapeblue.com>.
Hi,

To use s3 storage as the secondary storage you need to create a an nfs staging area  - a cache if you like.

The cloudmonkey command would be:

create secondarystagingstore provider=NFS zoneid=<$ZONEID> url=nfs://<$STAGING_SRV>/<$STAGING_NFS_PATH>

you can then add S3 as the secondary storage:

add imagestore name=<$S3_STOR_NAME> provider=S3 accesskey=<$S3_ACC_KEY> secretkey=<$S3_SEC_KEY> bucket=<$S3_BUCKET> usehttps=true endpoint=<$S3_ENDPOINT>

I wasn't that familiar with S3 (or AWS user configuration) to start with, so I stumbled around for a bit before I got to grips with it.

The endpoint is mostly likely to be s3.amazonaws.com
Even though you may request that the bucket be created in a particular region (I choose the EU).
The user associated with the access and secret keys you provide need to have permission to read/write to the bucket you've created.

Regards,

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
paul.angus@shapeblue.com

-----Original Message-----
From: Kiran Koneti [mailto:kiran.koneti@citrix.com]
Sent: 11 March 2014 10:37
To: Paul Angus
Cc: users@cloudstack.apache.org
Subject: RE: Regarding using AWS S3 as secondary storage in CS

Hi Paul,

Could you please post the steps as early as possible.

Regards,
Kiran.

-----Original Message-----
From: Paul Angus [mailto:paul.angus@shapeblue.com]
Sent: 09 March 2014 23:14
To: users@cloudstack.apache.org
Cc: Laurent Steff; Florent Paillot; Thomas O'Dowd
Subject: RE: Regarding using AWS S3 as secondary storage in CS

I have done it recently against 4.3. I'm with clients for a few days, as soon as I get the opportunity I'll post the steps I used.

Regards

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus paul.angus@shapeblue.com

-----Original Message-----
From: Min Chen [mailto:min.chen@citrix.com]
Sent: 07 March 2014 19:24
To: users@cloudstack.apache.org
Cc: Laurent Steff; Florent Paillot; Thomas O'Dowd
Subject: Re: Regarding using AWS S3 as secondary storage in CS

Including Thomas. I believe he did that before during 4.2 release.

Thanks
-min

On 3/7/14 2:52 AM, "Kiran Koneti" <ki...@citrix.com> wrote:

>
>
> Hi all,
>
>Has anyone configured the AWS S3 as secondary storage for the
>Cloudsatck ,If yes please let me know the steps to configure it.
>
>
>Regards,
>Kiran.

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-training/>
18th-19th February 2014, Brazil. Classroom<http://shapeblue.com/cloudstack-training/>
17th-23rd March 2014, Region A. Instructor led, On-line<http://shapeblue.com/cloudstack-training/>
24th-28th March 2014, Region B. Instructor led, On-line<http://shapeblue.com/cloudstack-training/>
16th-20th June 2014, Region A. Instructor led, On-line<http://shapeblue.com/cloudstack-training/>
23rd-27th June 2014, Region B. Instructor led, On-line<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.
This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.

RE: Regarding using AWS S3 as secondary storage in CS

Posted by Kiran Koneti <ki...@citrix.com>.
Hi Paul,

Could you please post the steps as early as possible.

Regards,
Kiran.

-----Original Message-----
From: Paul Angus [mailto:paul.angus@shapeblue.com] 
Sent: 09 March 2014 23:14
To: users@cloudstack.apache.org
Cc: Laurent Steff; Florent Paillot; Thomas O'Dowd
Subject: RE: Regarding using AWS S3 as secondary storage in CS

I have done it recently against 4.3. I'm with clients for a few days, as soon as I get the opportunity I'll post the steps I used.

Regards

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus paul.angus@shapeblue.com

-----Original Message-----
From: Min Chen [mailto:min.chen@citrix.com]
Sent: 07 March 2014 19:24
To: users@cloudstack.apache.org
Cc: Laurent Steff; Florent Paillot; Thomas O'Dowd
Subject: Re: Regarding using AWS S3 as secondary storage in CS

Including Thomas. I believe he did that before during 4.2 release.

Thanks
-min

On 3/7/14 2:52 AM, "Kiran Koneti" <ki...@citrix.com> wrote:

>
>
> Hi all,
>
>Has anyone configured the AWS S3 as secondary storage for the 
>Cloudsatck ,If yes please let me know the steps to configure it.
>
>
>Regards,
>Kiran.

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-training/>
18th-19th February 2014, Brazil. Classroom<http://shapeblue.com/cloudstack-training/>
17th-23rd March 2014, Region A. Instructor led, On-line<http://shapeblue.com/cloudstack-training/>
24th-28th March 2014, Region B. Instructor led, On-line<http://shapeblue.com/cloudstack-training/>
16th-20th June 2014, Region A. Instructor led, On-line<http://shapeblue.com/cloudstack-training/>
23rd-27th June 2014, Region B. Instructor led, On-line<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.

RE: Regarding using AWS S3 as secondary storage in CS

Posted by Paul Angus <pa...@shapeblue.com>.
I have done it recently against 4.3. I'm with clients for a few days, as soon as I get the opportunity I'll post the steps I used.

Regards

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus
paul.angus@shapeblue.com

-----Original Message-----
From: Min Chen [mailto:min.chen@citrix.com]
Sent: 07 March 2014 19:24
To: users@cloudstack.apache.org
Cc: Laurent Steff; Florent Paillot; Thomas O'Dowd
Subject: Re: Regarding using AWS S3 as secondary storage in CS

Including Thomas. I believe he did that before during 4.2 release.

Thanks
-min

On 3/7/14 2:52 AM, "Kiran Koneti" <ki...@citrix.com> wrote:

>
>
> Hi all,
>
>Has anyone configured the AWS S3 as secondary storage for the
>Cloudsatck ,If yes please let me know the steps to configure it.
>
>
>Regards,
>Kiran.

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 training<http://shapeblue.com/cloudstack-training/>
18th-19th February 2014, Brazil. Classroom<http://shapeblue.com/cloudstack-training/>
17th-23rd March 2014, Region A. Instructor led, On-line<http://shapeblue.com/cloudstack-training/>
24th-28th March 2014, Region B. Instructor led, On-line<http://shapeblue.com/cloudstack-training/>
16th-20th June 2014, Region A. Instructor led, On-line<http://shapeblue.com/cloudstack-training/>
23rd-27th June 2014, Region B. Instructor led, On-line<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.

Re: Regarding using AWS S3 as secondary storage in CS

Posted by Min Chen <mi...@citrix.com>.
Including Thomas. I believe he did that before during 4.2 release.

Thanks
-min

On 3/7/14 2:52 AM, "Kiran Koneti" <ki...@citrix.com> wrote:

>
>
> Hi all,
>
>Has anyone configured the AWS S3 as secondary storage for the Cloudsatck
>,If yes please let me know the steps to configure it.
>
>
>Regards,
>Kiran.