i have aws ec2 instance. have couple of magento websites hosted on ubuntu ec2.
now getting slow thinking move media files on s3 css/js/other images.
as files consuming memory , less memory available on ec2, thinking mount s3 bucket on ec2 magento directory media , skin related files uploaded in s3 bucket , downloaded cloudfront.
but fear is, ec2 should not consume double memory it.
why using cloudfront when have aws?
cloudfront should able pick images when on server. because ec2 instance seems not handle iops caused accessing images. dont need s3 when have cdn. furthermore, having lots of images on webserver not consume memory, when magento resizes them. maybe bottleneck?
actully case aws has created efs (elastic file system). ebs has nfs integrated. meaning, can mount efs on production , "image" servers. efs high available out of box , resizes disk space in realtime automatically rising amount of images. dont need manage it.
Comments
Post a Comment