I have angular code deployed on S3 and hosted using cloudfront which connects to API deployed on AWS Elasticbean Stalk. As all compornents are on public internet gateway(IGW