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,440 points
78 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,090 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
• 56,520 points
216 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
• 56,520 points
135 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,560 points
682 views
0 votes
1 answer
0 votes
3 answers
0 votes
1 answer

Is it possible to stop nodes in AWS ElastiCache cluster

At this time there is not a ...READ MORE

answered Jun 20, 2018 in AWS by Flying geek
• 3,150 points
208 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,090 points
119 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 17, 2018 in AWS by Archana
• 4,090 points
60 views