Skip to content

Issue on setup Parser Server on AWS #1239

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
zhouhao27 opened this issue Mar 29, 2016 · 7 comments
Closed

Issue on setup Parser Server on AWS #1239

zhouhao27 opened this issue Mar 29, 2016 · 7 comments

Comments

@zhouhao27
Copy link

I followed the How to set up Parse Server on AWS using AWS Elastic Beanstalk. But unfortunately I got the following error message:

Could not launch environment: Unable to download from S3 location (Bucket: elasticbeanstalk-samples-us-east-1 Key: eb-parse-server-sample/parse-server-example.zip). Reason: Moved Permanently

Any idea? Thanks.

@zhouhao27
Copy link
Author

Sorry, I found the issue. Must be in N.Virginia zone.

@ahaverty
Copy link

Is it not possible to create an EU instance using AWS EB?

@ahaverty
Copy link

Found a solution. Manually download the sample from https://s3.amazonaws.com/elasticbeanstalk-samples-us-east-1/eb-parse-server-sample/parse-server-example.zip
Then after clicking 'Review and Launch' and receiving @zhouhao27 's error above, go to the 'Application Version' tab and manually upload the zip folder, ensuring that you click 'next' on that page (Otherwise the zip doesn't seem to upload). Click next until you get to the final page with the error, and try launch again.

@Steggl
Copy link

Steggl commented Jan 7, 2018

I am sorry @ahaverty , how exactly did you resolve the issue? I am trying to set up on Frankfurt and cannot seem to find the "Application version" tab you mentioned. Thank you!

@Steggl
Copy link

Steggl commented Jan 7, 2018


2018-01-07 | Status | Type | Logical ID | Status Reason
-- | -- | -- | -- | --
21:58:44 UTC+0100ROLLBACK_COMPLETEAWS::CloudFormation::StackParseBackend21:58:43 UTC+0100DELETE_COMPLETEAWS::ElasticBeanstalk::ApplicationWebAppElasticBeanstalkApp21:58:27 UTC+0100DELETE_COMPLETEAWS::EC2::VPCMyVPC21:58:27 UTC+0100DELETE_COMPLETEAWS::EC2::InternetGatewayInternetGateway21:58:12 UTC+0100DELETE_IN_PROGRESSAWS::ElasticBeanstalk::ApplicationWebAppElasticBeanstalkAppPhysical ID:ParseBackend-WebAppElasticBeanstalkApp-1Q50CCMX7EXQVClient Request Token:Console-CreateStack-5d529b04-6783-46e7-a9b0-acb22e4ef00621:58:12 UTC+0100DELETE_COMPLETEAWS::IAM::RoleMongoDBHostRole21:58:12 UTC+0100DELETE_COMPLETEAWS::IAM::RoleWebAppRole21:58:11 UTC+0100DELETE_COMPLETEAWS::CloudFormation::WaitConditionHandleMongoDBWaitHandle0121:58:11 UTC+0100DELETE_IN_PROGRESSAWS::EC2::VPCMyVPC21:58:11 UTC+0100DELETE_IN_PROGRESSAWS::EC2::InternetGatewayInternetGateway21:58:11 UTC+0100DELETE_COMPLETEAWS::ElasticBeanstalk::ConfigurationTemplateNonDevEBConfigTemplate21:58:11 UTC+0100DELETE_IN_PROGRESSAWS::IAM::RoleMongoDBHostRole21:58:11 UTC+0100DELETE_IN_PROGRESSAWS::IAM::RoleWebAppRole21:58:11 UTC+0100DELETE_IN_PROGRESSAWS::CloudFormation::WaitConditionHandleMongoDBWaitHandle0121:58:11 UTC+0100DELETE_COMPLETEAWS::ElasticBeanstalk::ConfigurationTemplateDevEBConfigTemplate21:58:06 UTC+0100ROLLBACK_IN_PROGRESSAWS::CloudFormation::StackParseBackendThe following resource(s) failed to create: [InternetGateway, DevEBConfigTemplate, NonDevEBConfigTemplate, WebAppRole, MongoDBHostRole, MyVPC]. . Rollback requested by user.21:58:04 UTC+0100CREATE_FAILEDAWS::IAM::RoleMongoDBHostRoleResource creation cancelled21:58:04 UTC+0100CREATE_FAILEDAWS::EC2::InternetGatewayInternetGatewayResource creation cancelled21:58:04 UTC+0100CREATE_FAILEDAWS::EC2::VPCMyVPCResource creation cancelled21:58:04 UTC+0100CREATE_FAILEDAWS::IAM::RoleWebAppRoleResource creation cancelled21:58:04 UTC+0100CREATE_FAILEDAWS::ElasticBeanstalk::ConfigurationTemplateNonDevEBConfigTemplateNo Solution Stack named '64bit Amazon Linux 2017.09 v4.4.1 running Node.js' found.21:58:03 UTC+0100CREATE_FAILEDAWS::ElasticBeanstalk::ConfigurationTemplateDevEBConfigTemplateNo Solution Stack named '64bit Amazon Linux 2017.09 v4.4.1 running Node.js' found.21:58:03 UTC+0100CREATE_IN_PROGRESSAWS::ElasticBeanstalk::ConfigurationTemplateNonDevEBConfigTemplate21:58:03 UTC+0100CREATE_IN_PROGRESSAWS::ElasticBeanstalk::ConfigurationTemplateDevEBConfigTemplate21:58:01 UTC+0100CREATE_COMPLETEAWS::ElasticBeanstalk::ApplicationWebAppElasticBeanstalkApp21:58:00 UTC+0100CREATE_IN_PROGRESSAWS::EC2::VPCMyVPCResource creation Initiated21:58:00 UTC+0100CREATE_IN_PROGRESSAWS::ElasticBeanstalk::ApplicationWebAppElasticBeanstalkAppResource creation Initiated21:58:00 UTC+0100CREATE_IN_PROGRESSAWS::EC2::InternetGatewayInternetGatewayResource creation Initiated21:57:59 UTC+0100CREATE_IN_PROGRESSAWS::IAM::RoleWebAppRoleResource creation Initiated21:57:59 UTC+0100CREATE_COMPLETEAWS::CloudFormation::WaitConditionHandleMongoDBWaitHandle0121:57:59 UTC+0100CREATE_IN_PROGRESSAWS::IAM::RoleMongoDBHostRoleResource creation Initiated21:57:59 UTC+0100CREATE_IN_PROGRESSAWS::EC2::InternetGatewayInternetGateway21:57:59 UTC+0100CREATE_IN_PROGRESSAWS::EC2::VPCMyVPC21:57:59 UTC+0100CREATE_IN_PROGRESSAWS::ElasticBeanstalk::ApplicationWebAppElasticBeanstalkApp21:57:59 UTC+0100CREATE_IN_PROGRESSAWS::IAM::RoleWebAppRole21:57:59 UTC+0100CREATE_IN_PROGRESSAWS::CloudFormation::WaitConditionHandleMongoDBWaitHandle01Resource creation InitiatedPhysical ID:https://cloudformation-waitcondition-eu-central-1.s3.eu-central-1.amazonaws.com/arn%3Aaws%3Acloudformation%3Aeu-central-1%3A662397424852%3Astack/ParseBackend/6e8b2160-f3ed-11e7-aa0e-50a68a770c82/MongoDBWaitHandle01?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20180107T205759Z&X-Amz-SignedHeaders=host&X-Amz-Expires=86399&X-Amz-Credential=AKIAJAZKDI3C4AV3A2CQ%2F20180107%2Feu-central-1%2Fs3%2Faws4_request&X-Amz-Signature=81217c7463b05b4a4995e10d7c529f0459f407db19af2a4448a04566e183d4faClient Request Token:Console-CreateStack-5d529b04-6783-46e7-a9b0-acb22e4ef00621:57:59 UTC+0100CREATE_IN_PROGRESSAWS::IAM::RoleMongoDBHostRole21:57:58 UTC+0100CREATE_IN_PROGRESSAWS::CloudFormation::WaitConditionHandleMongoDBWaitHandle0121:57:54 UTC+0100CREATE_IN_PROGRESSAWS::CloudFormation::StackParseBackendUser Initiated |   | 21:58:44 UTC+0100 | ROLLBACK_COMPLETE | AWS::CloudFormation::Stack | ParseBackend |   |   | 21:58:43 UTC+0100 | DELETE_COMPLETE | AWS::ElasticBeanstalk::Application | WebAppElasticBeanstalkApp |   |   | 21:58:27 UTC+0100 | DELETE_COMPLETE | AWS::EC2::VPC | MyVPC |   |   | 21:58:27 UTC+0100 | DELETE_COMPLETE | AWS::EC2::InternetGateway | InternetGateway |   |   | 21:58:12 UTC+0100 | DELETE_IN_PROGRESS | AWS::ElasticBeanstalk::Application | WebAppElasticBeanstalkApp |   |   | Physical ID:ParseBackend-WebAppElasticBeanstalkApp-1Q50CCMX7EXQV |   | Client Request Token:Console-CreateStack-5d529b04-6783-46e7-a9b0-acb22e4ef006 |   | 21:58:12 UTC+0100 | DELETE_COMPLETE | AWS::IAM::Role | MongoDBHostRole |   |   | 21:58:12 UTC+0100 | DELETE_COMPLETE | AWS::IAM::Role | WebAppRole |   |   | 21:58:11 UTC+0100 | DELETE_COMPLETE | AWS::CloudFormation::WaitConditionHandle | MongoDBWaitHandle01 |   |   | 21:58:11 UTC+0100 | DELETE_IN_PROGRESS | AWS::EC2::VPC | MyVPC |   |   | 21:58:11 UTC+0100 | DELETE_IN_PROGRESS | AWS::EC2::InternetGateway | InternetGateway |   |   | 21:58:11 UTC+0100 | DELETE_COMPLETE | AWS::ElasticBeanstalk::ConfigurationTemplate | NonDevEBConfigTemplate |   |   | 21:58:11 UTC+0100 | DELETE_IN_PROGRESS | AWS::IAM::Role | MongoDBHostRole |   |   | 21:58:11 UTC+0100 | DELETE_IN_PROGRESS | AWS::IAM::Role | WebAppRole |   |   | 21:58:11 UTC+0100 | DELETE_IN_PROGRESS | AWS::CloudFormation::WaitConditionHandle | MongoDBWaitHandle01 |   |   | 21:58:11 UTC+0100 | DELETE_COMPLETE | AWS::ElasticBeanstalk::ConfigurationTemplate | DevEBConfigTemplate |   |   | 21:58:06 UTC+0100 | ROLLBACK_IN_PROGRESS | AWS::CloudFormation::Stack | ParseBackend | The following resource(s) failed to create: [InternetGateway, DevEBConfigTemplate, NonDevEBConfigTemplate, WebAppRole, MongoDBHostRole, MyVPC]. . Rollback requested by user. |   | 21:58:04 UTC+0100 | CREATE_FAILED | AWS::IAM::Role | MongoDBHostRole | Resource creation cancelled |   | 21:58:04 UTC+0100 | CREATE_FAILED | AWS::EC2::InternetGateway | InternetGateway | Resource creation cancelled |   | 21:58:04 UTC+0100 | CREATE_FAILED | AWS::EC2::VPC | MyVPC | Resource creation cancelled |   | 21:58:04 UTC+0100 | CREATE_FAILED | AWS::IAM::Role | WebAppRole | Resource creation cancelled |   | 21:58:04 UTC+0100 | CREATE_FAILED | AWS::ElasticBeanstalk::ConfigurationTemplate | NonDevEBConfigTemplate | No Solution Stack named '64bit Amazon Linux 2017.09 v4.4.1 running Node.js' found. |   | 21:58:03 UTC+0100 | CREATE_FAILED | AWS::ElasticBeanstalk::ConfigurationTemplate | DevEBConfigTemplate | No Solution Stack named '64bit Amazon Linux 2017.09 v4.4.1 running Node.js' found. |   | 21:58:03 UTC+0100 | CREATE_IN_PROGRESS | AWS::ElasticBeanstalk::ConfigurationTemplate | NonDevEBConfigTemplate |   |   | 21:58:03 UTC+0100 | CREATE_IN_PROGRESS | AWS::ElasticBeanstalk::ConfigurationTemplate | DevEBConfigTemplate |   |   | 21:58:01 UTC+0100 | CREATE_COMPLETE | AWS::ElasticBeanstalk::Application | WebAppElasticBeanstalkApp |   |   | 21:58:00 UTC+0100 | CREATE_IN_PROGRESS | AWS::EC2::VPC | MyVPC | Resource creation Initiated |   | 21:58:00 UTC+0100 | CREATE_IN_PROGRESS | AWS::ElasticBeanstalk::Application | WebAppElasticBeanstalkApp | Resource creation Initiated |   | 21:58:00 UTC+0100 | CREATE_IN_PROGRESS | AWS::EC2::InternetGateway | InternetGateway | Resource creation Initiated |   | 21:57:59 UTC+0100 | CREATE_IN_PROGRESS | AWS::IAM::Role | WebAppRole | Resource creation Initiated |   | 21:57:59 UTC+0100 | CREATE_COMPLETE | AWS::CloudFormation::WaitConditionHandle | MongoDBWaitHandle01 |   |   | 21:57:59 UTC+0100 | CREATE_IN_PROGRESS | AWS::IAM::Role | MongoDBHostRole | Resource creation Initiated |   | 21:57:59 UTC+0100 | CREATE_IN_PROGRESS | AWS::EC2::InternetGateway | InternetGateway |   |   | 21:57:59 UTC+0100 | CREATE_IN_PROGRESS | AWS::EC2::VPC | MyVPC |   |   | 21:57:59 UTC+0100 | CREATE_IN_PROGRESS | AWS::ElasticBeanstalk::Application | WebAppElasticBeanstalkApp |   |   | 21:57:59 UTC+0100 | CREATE_IN_PROGRESS | AWS::IAM::Role | WebAppRole |   |   | 21:57:59 UTC+0100 | CREATE_IN_PROGRESS | AWS::CloudFormation::WaitConditionHandle | MongoDBWaitHandle01 | Resource creation Initiated |   | Physical ID:https://cloudformation-waitcondition-eu-central-1.s3.eu-central-1.amazonaws.com/arn%3Aaws%3Acloudformation%3Aeu-central-1%3A662397424852%3Astack/ParseBackend/6e8b2160-f3ed-11e7-aa0e-50a68a770c82/MongoDBWaitHandle01?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20180107T205759Z&X-Amz-SignedHeaders=host&X-Amz-Expires=86399&X-Amz-Credential=AKIAJAZKDI3C4AV3A2CQ%2F20180107%2Feu-central-1%2Fs3%2Faws4_request&X-Amz-Signature=81217c7463b05b4a4995e10d7c529f0459f407db19af2a4448a04566e183d4fa |   | Client Request Token:Console-CreateStack-5d529b04-6783-46e7-a9b0-acb22e4ef006 |   | 21:57:59 UTC+0100 | CREATE_IN_PROGRESS | AWS::IAM::Role | MongoDBHostRole |   |   | 21:57:58 UTC+0100 | CREATE_IN_PROGRESS | AWS::CloudFormation::WaitConditionHandle | MongoDBWaitHandle01 |   |   | 21:57:54 UTC+0100 | CREATE_IN_PROGRESS | AWS::CloudFormation::Stack | ParseBackend | User Initiated
  | 21:58:44 UTC+0100 | ROLLBACK_COMPLETE | AWS::CloudFormation::Stack | ParseBackend |  
  | 21:58:43 UTC+0100 | DELETE_COMPLETE | AWS::ElasticBeanstalk::Application | WebAppElasticBeanstalkApp |  
  | 21:58:27 UTC+0100 | DELETE_COMPLETE | AWS::EC2::VPC | MyVPC |  
  | 21:58:27 UTC+0100 | DELETE_COMPLETE | AWS::EC2::InternetGateway | InternetGateway |  
  | 21:58:12 UTC+0100 | DELETE_IN_PROGRESS | AWS::ElasticBeanstalk::Application | WebAppElasticBeanstalkApp |  
  | Physical ID:ParseBackend-WebAppElasticBeanstalkApp-1Q50CCMX7EXQV
  | Client Request Token:Console-CreateStack-5d529b04-6783-46e7-a9b0-acb22e4ef006
  | 21:58:12 UTC+0100 | DELETE_COMPLETE | AWS::IAM::Role | MongoDBHostRole |  
  | 21:58:12 UTC+0100 | DELETE_COMPLETE | AWS::IAM::Role | WebAppRole |  
  | 21:58:11 UTC+0100 | DELETE_COMPLETE | AWS::CloudFormation::WaitConditionHandle | MongoDBWaitHandle01 |  
  | 21:58:11 UTC+0100 | DELETE_IN_PROGRESS | AWS::EC2::VPC | MyVPC |  
  | 21:58:11 UTC+0100 | DELETE_IN_PROGRESS | AWS::EC2::InternetGateway | InternetGateway |  
  | 21:58:11 UTC+0100 | DELETE_COMPLETE | AWS::ElasticBeanstalk::ConfigurationTemplate | NonDevEBConfigTemplate |  
  | 21:58:11 UTC+0100 | DELETE_IN_PROGRESS | AWS::IAM::Role | MongoDBHostRole |  
  | 21:58:11 UTC+0100 | DELETE_IN_PROGRESS | AWS::IAM::Role | WebAppRole |  
  | 21:58:11 UTC+0100 | DELETE_IN_PROGRESS | AWS::CloudFormation::WaitConditionHandle | MongoDBWaitHandle01 |  
  | 21:58:11 UTC+0100 | DELETE_COMPLETE | AWS::ElasticBeanstalk::ConfigurationTemplate | DevEBConfigTemplate |  
  | 21:58:06 UTC+0100 | ROLLBACK_IN_PROGRESS | AWS::CloudFormation::Stack | ParseBackend | The following resource(s) failed to create: [InternetGateway, DevEBConfigTemplate, NonDevEBConfigTemplate, WebAppRole, MongoDBHostRole, MyVPC]. . Rollback requested by user.
  | 21:58:04 UTC+0100 | CREATE_FAILED | AWS::IAM::Role | MongoDBHostRole | Resource creation cancelled
  | 21:58:04 UTC+0100 | CREATE_FAILED | AWS::EC2::InternetGateway | InternetGateway | Resource creation cancelled
  | 21:58:04 UTC+0100 | CREATE_FAILED | AWS::EC2::VPC | MyVPC | Resource creation cancelled
  | 21:58:04 UTC+0100 | CREATE_FAILED | AWS::IAM::Role | WebAppRole | Resource creation cancelled
  | 21:58:04 UTC+0100 | CREATE_FAILED | AWS::ElasticBeanstalk::ConfigurationTemplate | NonDevEBConfigTemplate | No Solution Stack named '64bit Amazon Linux 2017.09 v4.4.1 running Node.js' found.
  | 21:58:03 UTC+0100 | CREATE_FAILED | AWS::ElasticBeanstalk::ConfigurationTemplate | DevEBConfigTemplate | No Solution Stack named '64bit Amazon Linux 2017.09 v4.4.1 running Node.js' found.
  | 21:58:03 UTC+0100 | CREATE_IN_PROGRESS | AWS::ElasticBeanstalk::ConfigurationTemplate | NonDevEBConfigTemplate |  
  | 21:58:03 UTC+0100 | CREATE_IN_PROGRESS | AWS::ElasticBeanstalk::ConfigurationTemplate | DevEBConfigTemplate |  
  | 21:58:01 UTC+0100 | CREATE_COMPLETE | AWS::ElasticBeanstalk::Application | WebAppElasticBeanstalkApp |  
  | 21:58:00 UTC+0100 | CREATE_IN_PROGRESS | AWS::EC2::VPC | MyVPC | Resource creation Initiated
  | 21:58:00 UTC+0100 | CREATE_IN_PROGRESS | AWS::ElasticBeanstalk::Application | WebAppElasticBeanstalkApp | Resource creation Initiated
  | 21:58:00 UTC+0100 | CREATE_IN_PROGRESS | AWS::EC2::InternetGateway | InternetGateway | Resource creation Initiated
  | 21:57:59 UTC+0100 | CREATE_IN_PROGRESS | AWS::IAM::Role | WebAppRole | Resource creation Initiated
  | 21:57:59 UTC+0100 | CREATE_COMPLETE | AWS::CloudFormation::WaitConditionHandle | MongoDBWaitHandle01 |  
  | 21:57:59 UTC+0100 | CREATE_IN_PROGRESS | AWS::IAM::Role | MongoDBHostRole | Resource creation Initiated
  | 21:57:59 UTC+0100 | CREATE_IN_PROGRESS | AWS::EC2::InternetGateway | InternetGateway |  
  | 21:57:59 UTC+0100 | CREATE_IN_PROGRESS | AWS::EC2::VPC | MyVPC |  
  | 21:57:59 UTC+0100 | CREATE_IN_PROGRESS | AWS::ElasticBeanstalk::Application | WebAppElasticBeanstalkApp |  
  | 21:57:59 UTC+0100 | CREATE_IN_PROGRESS | AWS::IAM::Role | WebAppRole |  
  | 21:57:59 UTC+0100 | CREATE_IN_PROGRESS | AWS::CloudFormation::WaitConditionHandle | MongoDBWaitHandle01 | Resource creation Initiated
  | Physical ID:https://cloudformation-waitcondition-eu-central-1.s3.eu-central-1.amazonaws.com/arn%3Aaws%3Acloudformation%3Aeu-central-1%3A662397424852%3Astack/ParseBackend/6e8b2160-f3ed-11e7-aa0e-50a68a770c82/MongoDBWaitHandle01?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20180107T205759Z&X-Amz-SignedHeaders=host&X-Amz-Expires=86399&X-Amz-Credential=AKIAJAZKDI3C4AV3A2CQ%2F20180107%2Feu-central-1%2Fs3%2Faws4_request&X-Amz-Signature=81217c7463b05b4a4995e10d7c529f0459f407db19af2a4448a04566e183d4fa
  | Client Request Token:Console-CreateStack-5d529b04-6783-46e7-a9b0-acb22e4ef006
  | 21:57:59 UTC+0100 | CREATE_IN_PROGRESS | AWS::IAM::Role | MongoDBHostRole |  
  | 21:57:58 UTC+0100 | CREATE_IN_PROGRESS | AWS::CloudFormation::WaitConditionHandle | MongoDBWaitHandle01 |  
  | 21:57:54 UTC+0100 | CREATE_IN_PROGRESS | AWS::CloudFormation::Stack | ParseBackend | User Initiated

:-|

@zhouhao27
Copy link
Author

zhouhao27 commented Jan 9, 2018

Honestly I prefer to install parse-server on instance by myself instead of using Beanstalk.

@Steggl
Copy link

Steggl commented Jan 9, 2018

@zhouhao27 : How would you do this? Is there a tutorial around?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants