I am new to AWS Elastic Beanstalk. I deployed the sample server example using the deployment button on AWS to the sample server analysis example. I want to update the cloud code in main.js, but I do not know how I can deploy the cloud code, as I deployed with Parse in the terminal.
Try the following command:
eb deploy
It will archive your repository, upload to S3 and deploy it to eb.
Get the CLI tool: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3-install.html
Parse Server . EB CLI , eb deploy.
, ParseServer index.js, , CloudCode :
var api = new ParseServer({ ... cloud: process.env.CLOUD_CODE_MAIN || __dirname + '/cloud/main.js', ...
.
, "" , main.js. , AWS. , , .