[{"data":1,"prerenderedAt":60},["ShallowReactive",2],{"pattern-ec2-s3-express-one-zone-sam":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":11,"deploy":13,"description":16,"extension":17,"framework":18,"gitHub":19,"highlight":6,"introBox":25,"language":31,"level":32,"meta":33,"patternArch":34,"resources":47,"s3URL":6,"services":6,"stem":55,"testing":56,"videoId":6,"__hash__":59},"patterns\u002Fpatterns\u002Fec2-s3-express-one-zone-sam.json","Amazon EC2 to Amazon S3 Express One Zone directory bucket",null,{"text":8},[9,10],"Delete the Amazon S3 bucket content: \u003Ccode>aws s3 rm s3:\u002F\u002F{BucketExpressOneZoneName} --recursive\u003C\u002Fcode> --region {my-region}","Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[12],"content\u002Fcontributors\u002Fbiswanath-mukherjee.json",{"text":14},[15],"sam deploy --guided","SAM Template that creates an EC2 Instance, an Amazon S3 Express One Zone directory bucket, and required IAM Role to access the bucket from the instance.","json","AWS SAM",{"template":20},{"repoURL":21,"templateURL":22,"projectFolder":23,"templateFile":24},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fec2-s3-express-one-zone-sam","serverless-patterns\u002Fec2-s3-express-one-zone-sam","ec2-s3-express-one-zone-sam","template.yaml",{"headline":26,"text":27},"How it works",[28,29,30],"S3 Express One Zone is the first S3 storage class that gives you the option to co-locate high-performance object storage and AWS compute resources, such as Amazon Elastic Compute Cloud, Amazon Elastic Kubernetes Service, and Amazon Elastic Container Service, within a single Availability Zone.","This pattern provisions both the Amazon EC2 instance and the S3 Express One Zone Directory bucket within same Availability Zone. It performs read and write opertations from the directory bucket from within the EC2 instance and outside.","Access to the directory bucket from the EC2 instance is provided through IAM Role associated with the instance profile.","YAML","200",{},{"icon1":35,"icon2":40,"line1":44},{"x":36,"y":37,"service":38,"label":39},20,50,"ec2","Amazon EC2",{"x":41,"y":37,"service":42,"label":43},80,"s3","Amazon S3 Express One Zone",{"from":45,"to":46},"icon1","icon2",{"bullets":48},[49,52],{"text":50,"link":51},"Amazon S3 Express One Zone User Guide","https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonS3\u002Flatest\u002Fuserguide\u002Fs3-express-one-zone.html",{"text":53,"link":54},"AWS CLI Command Refernece","https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fs3api\u002Fput-object.html","patterns\u002Fec2-s3-express-one-zone-sam",{"text":57},[58],"See the GitHub repo for detailed testing instructions.","T1Ffr3D3lNjlE65Ae6hUG6MmcVqYyIzpd5SOn69uogo",1778846884245]