# Error in deploying Open OnDemand on AWS

**URL:** <https://discourse.openondemand.org/t/error-in-deploying-open-ondemand-on-aws/2789>\
**Category:** Get Help\
**Tags:** question\
**Created:** [July 2, 2023, 12:00pm UTC](https://discourse.openondemand.org/t/error-in-deploying-open-ondemand-on-aws/2789 "2023-07-02T12:00:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mnakao](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/mnakao/32/1001_2.png) [@mnakao](https://discourse.openondemand.org/u/mnakao)\
**Post date:** [July 2, 2023, 12:00pm UTC](https://discourse.openondemand.org/t/error-in-deploying-open-ondemand-on-aws/2789/1 "2023-07-02T12:00:05Z")

</div>

Hi,

I’m trying to deploy OOD on AWS as seen the following URL linking from Open OnDemand official page. But I’ve encountered an error during deployment and would like some help.

> **[Workshop Studio](https://catalog.us-east-1.prod.workshops.aws/workshops/c4d84bde-e2c5-44ed-a7ee-1a27e90e2cb2/en-US)**
>
> Discover and participate in AWS workshops and GameDays

In [Deplpyment] → [Deploying OOD Portal], I create a stack using CloudFormation. The content I have described is the same as the web page. I encountered the following error;

 ![1](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/9/94135b24f33ff11794b37cb67e4bdd82bb1d8ab4.png)

 ![2](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/b/ba7eee3dff0c1c13e5921a0db3bdf2259020a7ed.png)

It seems to be an error that the directory listed in S3 cannot be deleted during deployment, do you know how to fix it?

Best regards,

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [July 5, 2023, 4:09pm UTC](https://discourse.openondemand.org/t/error-in-deploying-open-ondemand-on-aws/2789/2 "2023-07-05T16:09:05Z")

</div>

I’m sorry, I’m unfamiliar with that product. @alanc do we have an AWS contact? I don’t seem to recall meeting anyone from AWS.

---

<div class="post-metadata">

**Author:** ![cpollard0](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/cpollard0/32/1746_2.png) [@cpollard0](https://discourse.openondemand.org/u/cpollard0)\
**Post date:** [July 6, 2023, 8:32pm UTC](https://discourse.openondemand.org/t/error-in-deploying-open-ondemand-on-aws/2789/3 "2023-07-06T20:32:56Z")

</div>

Hey Masahiro,

The error your getting is a symptom of a deployment failure. Can you please check the CloudFormation events and identify the first failure that you’re noticing? Once you’ve found the first failure, please share it so that I can update the workshop or provide further guidance.

To clean up the failed deployment, you’ll need to either empty the buckets or delete the stack and retain the buckets. To empty the buckets, you can click on “Resources” in the CloudFormation console and identify the S3 buckets that weren’t deleted as part of the failed deployment. Then, click the hyperlink to the bucket which will open a new tab to the S3 console. You can delete the objects from there.

After you’ve emptied the buckets, go back to CloudFormation, click on the stack that’s in the “Rollback Failed” state, and click “Delete”.

That should clean up the old stack.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/b/bae70bd0ed39a3ae769c2108155f4cb3e9da8385.png) [@system](https://discourse.openondemand.org/u/system)\
**Post date:** [January 2, 2024, 8:33pm UTC](https://discourse.openondemand.org/t/error-in-deploying-open-ondemand-on-aws/2789/4 "2024-01-02T20:33:35Z")

</div>

Closed on January 2, 2024, 8:33pm UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
