First, you need to empty the S3 bucket that was created by the Serverless Backend CloudFormation template.
Go the AWS Management Console, click Services then select CloudFormation under Management Tools.
In the CloudFormation console, click on your Wild Rydes stack name, such as
Click on the Outputs tab.
Copy your bucket name to your clipboard. It is the name shown under Value for the key called
Open your Cloud9 developer environment.
Within the Cloud9 IDE, open up a terminal. You can do this by clicking the
+ icon in the lower pane and selecting New Terminal.
Paste the following command and be sure to update your S3 bucket name:
aws s3 rb s3://MY-BUCKET-NAME --force