DEV Community

Discussion on: Free and easy DIY digital business card

Collapse
 
awlawlawl profile image
Allen Lyons

Is it possible to just create the vcard file and statically host it from s3 and/or Cloudfront? Does it need to be generated by a lambda on the fly?

Collapse
 
mishi profile image
Mihaly Balassy AWS Community Builders

Sure, that's also an option, but you'll need to create a vCard file with your base64-encoded photo in it and set up CloudFront since you'll need HTTPS. This script will do it all for you. Plus, if some of your information changes, all you have to do is change the affected field and don't worry about CloudFront caches.