What is command to install Visual C in Elastic Beanstalk

0 votes

I am searching for a command that I can use in Elastic Beanstalk configuration file to install Visual C++ Redistributable for Visual Studio which I need for my web project to run.

I tried installing using msi which I built from the exe and put on S3 but it returned timeout:

The following instances have not responded in the allowed command timeout time (they might still finish eventually on their own)

And I still get the error:

Could not load file or assembly 'Magick.NET-x86.DLL' or one of its dependencies. The specified module could not be found.

Any solution?

Aug 28, 2018 in AWS by datageek
• 2,540 points
1,288 views

1 answer to this question.

0 votes

Below solution worked for me

  1. Download the redistributable from http://www.microsoft.com/en-us/download/details.aspx?id=30679

  2. Upload the redistributable to your S3 store and note the URL location

  3. In the .NET project, create a folder named .ebextensions at the top level of the project

  4. Create a file named myapp.config (or any name of your choice).

  5. In the config file, place the following (files into myapp-1.config and commands into myapp-2.config):

  files:
    "c:\\somedirectoy\\vcredist_x64.exe":
      source: https://s3.amazonaws.com/yours3location/2012vcredist_x64.exe

   commands:
     instlVC:
         command: c:\\somedirectory\\vcredist_x64.exe /q /norestart

answered Aug 28, 2018 by Archana
• 4,170 points

Related Questions In AWS

0 votes
1 answer

Configure Application load balancer to route http to https in Elastic beanstalk

From this document: To update your Elastic Beanstalk environment to ...READ MORE

answered Sep 6, 2018 in AWS by Priyaj
• 58,020 points
2,100 views
0 votes
1 answer

What is the benfits of using Elastic Load Balancer in VPC?

Hello, @Jino. Talking about the Load Balancer, it ...READ MORE

answered Nov 20, 2018 in AWS by Priyaj
• 58,020 points
952 views
0 votes
1 answer

What is the best way to check if table exists in DynamoDB?

This function gives you a nice boolean ...READ MORE

answered Nov 30, 2018 in AWS by Archana
• 5,640 points
6,822 views
0 votes
1 answer
+1 vote
1 answer

What is AWS Elastic Beanstalk?

Cloud Computing is reshaping the entire application ...READ MORE

answered Jan 31, 2020 in AWS by Archana
882 views
0 votes
1 answer

What is difference between commands and container commands in Elastic Beanstalk?

The major difference between these two pieces ...READ MORE

answered Sep 12, 2018 in AWS by Archana
• 4,170 points
2,519 views
0 votes
1 answer

Is it possible to stop nodes in AWS ElasticCache cluster?

In AWS, ElastiCache clusters cannot be stopped. ...READ MORE

answered Aug 18, 2018 in AWS by Archana
• 4,170 points
1,575 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP