Is there a way I can install AWS Toolkit For Visual Studio 17 on MAC?
The Toolkit for Visual Studio is still available if you're using Visual Studio versions 2008, 2010, and 2012 (including Express editions where available). However, it is not supported. For Express editions, the installation includes only the AWS project templates and the standalone deployment tool. Best tools for S3: Amazon Web Service(AWS). AWS toolkit for visual studio which. Browser for Mac and Windows. It just requires your AWS credentials and you can. Then, to provide an Integrated Development Environment(IDE) to facilitate software development in the project, AWS Toolkit for Visual Studio is installed to configure on a Windows system with Visual Studio program installed. Overall, the Visual Studio Toolkit for AWS makes deploying applications to the AWS Cloud really easy. Not surprisingly, Windows Azure plug ins are even simpler to use, but it's good to know that your choice of cloud providers does not need to be driven by the developer toolkit.
I downloaded the toolkit from https://marketplace.visualstudio.com/items?itemName=AmazonWebServices.AWSToolkitforVisualStudio2017. If I open it with Visual Studio, it opens the file as a text editor.
I downloaded Visual Studio Community Edition from https://www.visualstudio.com/downloads/
Get started with Visual Studio Code Microsoft’s open source development tool has become an important piece of the developer’s toolkit on Mac, Linux, and Windows. I'm currently working on a Windows 10 Pro environment with Visual Studio 2017 and Visual Studio Code installed. I do have the AWS Toolkit for Visual Studio installed and have successfully deployed Lambda functions to my AWS account without issue. 今回はVSと AWS Toolkit for Visual Studio を使って作成しましたが、.NET Core CLI から Lambda Function を作成することもできるようです。 そちらであれば Mac でも C# で Lambda Function を作ることができるはず?.
Lex Li2 Answers
Currently the AWS Toolkit for Visual Studio does not support Visual Studio for Mac. See below:
Open your VS Code and go to 'Extensions' on the left hand side and click on it. Search for AWS Toolkit for Visual Studio Code. Once you find it, it's a fairly straightforward process to install it!
Not the answer you're looking for? Browse other questions tagged amazon-web-servicestoolkitvisual-studio-mac or ask your own question.
After deploying a gazillion Episerver sites to Azure I thought it would be nice to play with Amazon AWS Elastic Beanstalk. Only because I wanted to see if it is just as easy to deploy a website to AWS as it is with Azure.
The documentation on Episerver World is quite extensive, however some pieces seem to be missing and there are some pitfalls, so I hope this blogpost will help you out with your deployments.
Here is what we are going to do:
1. Create a free AWS account
If you already have an AWS account you can skip this step.
Goto https://aws.amazon.com/ and select “Create free account”. After you have been validated you end up in the AWS console.
2. Create a user for this deployment
Amazon recommends not to use your root account for day-to-day interaction with AWS, because it has unrestricted access to all your resources. So let’s create a new user.
Select users in the menu and click “Create New User”
Enter the username(s) you want to use and click “Create”.
Download or copy the User Security Credentials, you will need them later for creating a profile in the AWS Explorer and configuring the providers.
Select the created user and click “Manage Password” in the User Action drop-down menu.
Enter a password for the user.

Next create a group, for example “Episerver” and attach the appropriate policies to this group.
We will use the following resources: Elastic Beanstalk, EC2, RDS and SNS/SQS. Adding AWSElasticBeanstalkFullAccess will give us the correct rights.
Finally add the user(s) to the group and we are ready to go.
The username and password you just created will be used to login to the AWS console the next time.
The login url is displayed in the dashboard page and should look like: https://12345678.signin.aws.amazon.com/console
You can change the account number for some custom name if you want.
Logout the root account.
3. Install AWS Toolkit in Visual Studio
The AWS toolkit is an extension for Visual Studio that lets you manage your resources in AWS and makes it easy to deploy.Go to http://aws.amazon.com/visualstudio/ to download the latest version of the AWS toolkit.
After installation you can create a new profile in the AWS Explorer by using the security credentials we saved earlier.
4. Setup the database instance
You can either setup the database instance from the AWS Console or from Visual Studio.
Be sure to select the right region for your resources.
Login with the security credentials you just created.
In the AWS console go to RDS
As the DB Instance Class select db.t2.micro, because that one is free and will do fine for this demo.
You can leave the rest of the instance settings to the default.
At settings specify a name for your database instance and enter a master username and password.
In the next step at “Configure Advanced settings” you can use the default settings. Be sure “Publicly Accessible” is set to YES, else you won’t be able to connect to your DB instance from Visual Studio or SQL Server Management Studio.
Click “Launch DB instance” to start your database server.
Using Visual Studio:In the AWS explorer right click on Amazon RDS and select “Launch Instance”.
This will open up a wizard.
Select SQL Server Express.
Select the DB Engine version you need.
As the DB Instance Class select db.t2.micro, because that one is free and will do fine for this demo.
Specify a name for your database instance and enter a master username and password.
In the next step be sure to check the “Publicly accessible” option, else you won’t be able to connect to your DB instance from Visual Studio or SQL Server Management Studio.Also check “Create new security group”. This will create a new security group which includes your IP address, so you can access the DB instance.
You can leave the rest of the setting to their default values.
5. Prepare the database
Now that we have our DB instance up and running, we can create the database.In the AWS Explorer in Visual Studio right click the DB instance and select “Create SQL Server Database”.
When the database is created we we automatically be taken to the Server Explorer.
6. Prepare the solution (Alloy)
In Visual Studio create a new Alloy project. Do not include search in the project.
Add the following package to the solution: EPiServer.Amazon.
In the web.config file we have to add 2 items to the episerver.framework section:
Blob provider
2 4 6 8 10 | <providers> type='EPiServer.Amazon.Blobs.AmazonBlobProvider,EPiServer.Amazon' secretKey='<your secretkey>' bucket='alloymedia'/> </blob> |
You will need the accessKey and secretKey from the user we created in step 2.
Information about the region code can be found here: http://docs.aws.amazon.com/general/latest/gr/rande.html#rds_region
For the bucket you can take any name you want. The bucket will be created automatically after deployment if it doesn’t exist.
Event provider
2 4 6 8 10 | <providers> type='EPiServer.Amazon.Events.AmazonEventProvider,EPiServer.Amazon' secretKey='<your secretkey>' topic='alloyevents'/> </event> |
You will need the accessKey and secretKey again from the user we created in step 2.
Information about the region code can be found here: http://docs.aws.amazon.com/general/latest/gr/rande.html#sns_region
For the topic you can take any name you want. The topic will be created automatically after deployment if it doesn’t exist.
We also have to configure the correct connection string. It should look like this:
2 | connectionString='Server=tcp:episerver.cgx4wqop9hds.eu-west-1.rds.amazonaws.com,1433;Database=dbAlloy;User ID=sa;Password=<your password>;Connection Timeout=30;MultipleActiveResultSets=True' |
Note: normally I would not recommend to use the sa user for connecting to the database. You can easily create a new user by using SQL Server Management Studio.
For now we will use the sa account.
As a final step before deployment we need to install the database schema.
Open the SQL script from: packagesEPServer.CMS.Core.x.y.ztoolsEPiServer.Cms.Core.sql and execute it against the database.
Now we are finally ready for the real deployment.
7. Deploy to AWS Elastic Beanstalk
X Code
Right-click on the project and select “Publish to AWS”, the publication wizard will open.Select the right profile and region and select “Create a new application environment”.
At Relational Database Access select the security group for your VPC
After the deployment you might run into a few issues.
Access to the path ‘C:inetpubwwwrootmodules_Protectedrepository.config’ is denied
By default the application pool user is not allowed to write to the disk. A workaround for this issue is to run the site locally once and include the generated repository.config file in the project. Then redeploy the site.
Another option is to create a folder in the root of your project named “.ebextensions”.
In that folder create a config file, for example AlloyEB.config and add the following lines to it:
Visual Studio For Mac Download
Visual Studio Aws Sdk
2 | 01-set-permissions: command:icaclsC:inetpubwwwrootmodules_Protected/grant:r'IIS_IUSRS':(OI)(CI)M |