How to Run Aspose.Cells in AWS Lambda

Prepare AWS environment

  1. Register an AWS account:
    Register AWS account

  2. Log in to your AWS account, add an IAM user under your account. You can refer to the AWS official document:
    Add IAM user

  3. Add the permission “AmazonS3FullAccess”. Similarly, add EC2 and Elastic Beanstalk full‑access permissions for each.

  4. At the last step, make sure you obtain the IAM user name, Access Key, Secret Key ID, and the “credentials.csv” file; you need to save them securely.
    Now make sure your IAM user has full access to S3, EC2, and Elastic Beanstalk. See:

AWS Access

Install AWS Toolkit for Visual Studio

  1. Install Visual Studio 2019 or a later version.

  2. Download and install AWS Toolkit for Visual Studio:
    AWS Toolkit

Create a project running in AWS Lambda

  1. Create an ASP.NET Core Web Application in Visual Studio, write test code, and obtain Aspose.Cells from NuGet.

  2. Make sure the test project runs well on your local machine, then deploy it to AWS Elastic Beanstalk:
    Right‑click the project name, choose “Publish to AWS Elastic Beanstalk”. (This option will only exist after you install AWS Toolkit for Visual Studio.)

  3. You will need to add a new user with your AWS account and IAM user; you can import the “credentials.csv” file you obtained in the previous step.

  4. After a successful publish, you will get a link address like: http://testprojectaspose-test.us-west-2.elasticbeanstalk.com/
    Wait 10 minutes for the link to take effect, then you can visit it!