,---, ,' , `. .--.--.
,---. ' .' \ ,-+-,.' _ | / / '.
/__./| / ; '. ,-+-. ; , ||| : /`. /
,---.; ; |: : \ ,--.'|' | ;|; | |--`
/___/ \ | |: | /\ \ | | ,', | ':| : ;_
\ ; \ ' || : ' ;. : | | / | | || \ \ `.
\ \ \: || | ;/ \ \' | : | : |, `----. \
; \ ' .' : | \ \ ,'; . | ; |--' __ \ \ |
\ \ '| | ' '--' | : | | , / /`--' /
\ ` ;| : : | : ' |/ '--'. /
: \ || | ,' ; | |`-' `--'---'
'---" `--'' | ;/
'---'
Visual Asset Management System (VAMS) is a purpose-built, AWS native solution for the management and distribution of specialized visual assets used in spatial computing. VAMS offers a simplified solution for organizations to ingest, store, and manage visual assets in the cloud, which empowers any user with a web browser to upload, manage, visualize, transform, and retrieve visual assets. Existing workflows that leverage both custom code and pre-built or third-party applications can also be migrated to VAMS and ran in the AWS cloud, as opposed to being limited by the on-premise capacity available. VAMS is customizable and expandable with option of being further tailored to specific use-cases by development teams.
Customer Value: VAMS addresses a challenge faced by customers embarking on Augmented and Virtual Reality (AR/VR) initiatives and in its early stages was developed in conjunction with HCLS and Automotive customers. Leveraging S3 as a low-cost, high availability storage layer, VAMS provides a purpose-built API for 3D asset management and consumption. This API provides a layer of abstraction, allowing custom integrations to be built. Custom integrations allow workloads and applications, which commonly are only available via a local system and proprietary software, to be shifted to the cloud and unlocking access to the entire breadth and depth of the AWS ecosystem. Organizations that previously had to visualize, transform, interface with, and deliver these assets on local systems, can now do so from a web-based cloud dashboard. Custom applications and automation can also be built leveraging the VAMS API.
Use Cases: Sample use cases that have leveraged early iterations of VAMS include:
- Distribution and management of 3D Assets using highly available S3 storage
- Modifications of 3D assets using VAMS Pipelines
- Creating workflows for 3D asset modification using VAMS Workflows
VAMS supports deployment to the AWS us-east-1 region at this time. Support for other regions is coming soon.
- Python 3.8
- Poetry (for managing python dependencies in the backend)
- Docker
- Node >=16.x
- Yarn >=1.22.19
- Node Version Manager (nvm)
- AWS CDK cli
- Programatic access to AWS account at minimum access levels outlined above.
-
cd ./web nvm use
- make sure you're node version matches the project. Make sure Docker daemon is running. -
npm run build
- build the web app. -
cd ../infra npm install
- installs dependencies defined in package.json. -
If you haven't already bootstrapped your aws account with CDK.
cdk bootstrap aws://101010101010/us-east-1
- replace with your account and region. (Note: only us-east-1 is supported with VAMS at this time.) -
cdk deploy dev --parameters [email protected]
- replace with your email address to deploy. An account is created in an AWS Cognito User Pool using this email address. Expect an email from [email protected] with a temporary password.
-
Navigate to URL provided in
{stackName].WebAppCloudFrontDistributionDomainName{uuid}
fromcdk deploy
output. -
Check email for temporary account password to log in with the email address you provided.
Provide a unique stack name in the deployment command cdk deploy STACK_NAME --parameters [email protected]
to deploy multiple instances of VAMS in the same AWS account.
To deploy customziations or updates to VAMS, you can update the stack by running cdk deploy
. A changeset is created and deployed to your stack.
Please note, depending on what changes are in flight, VAMS may not be available to users in part or in whole during the deployment. Please read the change log carefully and test changes before exposing your users to new versions.
VAMS Backend is composed of AWS Lambda functions that are accessed through an AWS API Gateway.
Pipelines are a feature in VAMS that allow you to edit
VAMS Frontend is a ReactJS application.
VAMS API and frontend are authorized through AWS Cognito user accounts only.
component | folder |
---|---|
web application | web |
cdk deployment | infra |
api and backend | backend |
Checkout the VAMS workshop for detailed walkthrough
To know more about how VAMS works and for instructions on configuring pipeline & workflow, refer to the Developer Guide developer guide.
VAMS is provided under a shared responsibility model. Any customization for customer use must go through an AppSec review to confirm the modifications don't introduce new vulnerabilities. Any team implementing takes on the responsibility of ensuring their implementation has gone through a proper security review.
- Run
yarn audit
in theweb
directory prior to deploying front-end to ensure all packages are up-to-date. Runyarn audit fix
to mitigate critical security vulnerabilities. - When deploying to a customer account, create an IAM Role for deployment that limits access to the least privilege necessary based on the customers internal security policies.
- Run
cdk destroy
from infra folder. - Some resources may not be deleted by CDK (e.g S3 buckets and DynamoDB tables, pipeline stacks). You may delete them using the AWS CLI or the AWS Console.
See the CONTRIBUTING file for how to contribute.
The costs of this solution can be understood as fixed storage costs and variable costs of the pipelines that you configure. Storage cost is proportional to the amount of data you upload to VAMS including new data you create using VAMS pipelines.
You are responsible for the cost of the AWS services used while running this solution. Ensure that you have billing alarms set within the constraints of your budget.
An approximate cost breakdown is below (excluding free tiers):
Service | Quantity | Cost |
---|---|---|
Amazon API Gateway | 150000 requests | $0.16 |
Amazon DynamoDB | 750000 writes, 146250 reads, 0.30 GB storage | $1.18 |
AWS Lambda | 12000 invocations, 2-minute avg. duration, 256 MB memory | $6 |
AWS Step Functions | 92400 state transitions | $2.21 |
Amazon S3 | 10 GB storage, 4000 PUT requests, 4000 GET requests | $0.26 |
Amazon Rekognition | 9000 Image analysis, 3 Custom Label inference units | $22.32 |
Amazon SageMaker | 2 inference endpoints | $5.13 |
Amazon Elastic Container Registry | ECR (In region)40GB | $4 |
See the LICENSE file for our project's licensing.
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.