AWS S3 Archives

Access AWS S3 from Lambda within the VPC

Author - Webner
|
0 Comments
|

On the AWS Console, choose VPC service and then Endpoints.

Create a new endpoint and associate it to the AWS S3 service

Choose the service com.amazonaws.us-east-1.s3 with type Gateway

Then select the VPC and Route Table.

Read more…

How to upload a file on AWS S3 from Cakephp 3.9

Author - Webner
|
0 Comments
|

First, we need to install aws-sdk for PHP in the CakePHP project. To install it we can run the below command:

composer require aws/aws-sdk-php

Code to upload a file:

Template Code:
<?= $this->Form->create($product, [‘enctype’ => ‘multipart/form-data’]) ?>
<fieldset Read more…