Getting the uploaded Source bundle from aws elasticbeanstalk - amazon-web-services

I'm using AWS Beanstalk to deploy my java application ,and i created the zip file which i uploaded.
Now the question is can i download the source bundle that i uploaded to my pc again ? and where is the path where is stored ?
Thanks !

Your application versions are stored on S3.
You can easily access them by heading to Beanstalk home page, then click on your application name (/!\ not the environment name) and click on 'Application versions' on the left menu.
From there you can see all the zip files you uploaded and where each one is deployed. Then you can either download, delete or deploy them by selecting one and using the 'Action' button at the top.

Related

AWS Amplify - How to Export and Download Video Files like in XAMPP/Apache

I have a web app that lets me export videos in a MP4 video format. I can set this up locally using XAMPP Control Panel and open it as Administrator and install Apache. Finally, going to the htdocs folder and place the local files from there. How can I set this up from my GitHub repo on AWS Amplify? Or is it easier to use Heroku

Moodle on Heroku using S3 Bucket

I'm trying to set up Moodle on a free Dyno on Heroku.
I started my project with the stable version 3.10 of Moodle on a new repository.
I've created the Heroku app and connected my github repository to it
I've created an S3 Bucket that allows read and write access to objects from anyone
On config.php:
I changed the database settings (to point to the free postgres database that I also created),
I've set wwwroot as my Heroku app (http://myherokuappexample.herokuapp.com/)
I've set dataroot as my S3 Bucket endpoint (https://mys3bucketnamexample.s3.eu-north-1.amazonaws.com/moodledata/)
I created the folder moodledata, added an image to it and I was able to access it from the browser (for example https://mys3bucketnamexample.s3.eu-north-1.amazonaws.com/moodledata/ola.png)
BUT I'm getting "Fatal error: $CFG->dataroot is not configured properly, directory does not exist or is not accessible! Exiting." when the app is deployed to Heroku.
What am I doing wrong?

how to store image, video, audio file in aws server permanent outside tomcat deployed directory?

Currently, I am using AWS server as a beginner.
currently i am storing image, video file in project directory.
tomcat8/webapps/ROOT/Video/
but whenever project is redeployed all uploaded file is remove because of project WAR file is replace.
but i don't want to store these inside of AWS root directory. I want to store these into outside project directory.

Deployment with WebStorm (JetBrains) - sends only one file

I configure deployment setting in WebStorm to location on my VPS. When I'm trying deploy to VPS WebStorm sends only one file - index.html
I want to send all files (or recently updated like in version control).
I've checked configuration but can't find any settings let me choose file to send.
How to send all files to VPS?
Select the files and or folders you want to deploy in Project Files Alt + 1. Right-click and select Deployment -> Sync with Deployed to .... This will check the files and folders for differences with the remote host. Continuing with this dialog will upload (and download) the latest changes.
Be wary, this might take a while over FTP when processing large projects.

How do I make a django project compatible with AWS Beanstalk?

I want to make a Django project compatible with AWS Beanstalk.
I dont want this to be like in AWS tutorial, since they use git and need to setup the whole project as they tell.
I just want to know if there is a way of converting an already created Python-Django project to be AWS Beanstalk compatible. I mean, isn't there a standard project layout to download or a plugin or command-line tool that creates the .ebsettings folder for me? I want to convert my project and upload it throw the AWS web gui, dont need all the git stuff.
You can do this without using git route. You just need to zip your source bundle and upload to the Beanstalk Web Console. The code structure can be kept the way you want.
Key configurations are:
1. WSGIPath : This should point to the .py file which you need to start the app (WSGI app)
2. static: This should point to the path containing the static files
You can add the configurations in the .ebextensions folder, which should at the root of your app zip. You can read more details here: Customizing and Configuring a Python Container - AWS Elastic Beanstalk