Category : amazon-web-services

I have fetch url from AWS Bucket like this: https://{bucket_path}/iportalDocuments/99/aid.jpeg?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIARYDJGMIUARGRF2Y3%2F20211130%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20211130T065101Z&X-Amz-SignedHeaders=host&X-Amz-Expires=1200&X-Amz-Signature=f2e7ccba4e7d42238d03c311cc0fb9768fb47b52891d8cbe86def3f4f827762e Is it possible to copy file from url using spatie library. Thank you in advance.. Sourc..

Read more

I have used copy function for copying the file.My code work without using s3 bucket both in local and IIS But when i used S3 bucket i got this error. Error executing "PutObject" on "{bucket_path}/local-iportalDocuments/96/building.jpeg"; AWS HTTP error: Client error: PUT {{bucket_path}}/local-iportalDocuments/96/building.jpeg resulted in a 403 Forbidden response:nnAccessDeniedAccess Denied3BGXVF (truncated…)n AccessDenied (client): Access Denied – ..

Read more

I have a Laravel api with Serverless that connects to the AWS Lambda service, which tries to do a simple Job as the Laravel documentation advises (https://laravel.com/docs/7.x/queues#dispatching-jobs). my ProcessPodcast job try a SQS service, but returneda error. I have this error returning: AwsSqsExceptionSqsException: Error executing "SendMessage" on "https://sqs.us-east-1.amazonaws.com/your-account-id/$%7Bconstruct:jobs.queueUrl%7D"; AWS HTTP error: Client error: `POST https://sqs.us-east-1.amazonaws.com/your-account-id/$%7Bconstruct:jobs.queueUrl%7D` ..

Read more

I have a Laravel API implementation running on AWS Lambda via laravel-bref, and many of the implemented flows use the native Notification implementation. My question is this; at what point, if any, can a monolithic server instance start bottlenecking for various events/jobs/etc? There are various notifications that intermittently do not get sent out by Laravel, ..

Read more

I upload the audio file based on Dubber API.[( https://developer.dubber.net/docs/read/end_point_samples/multi_part_uploads )] But the different audio paths cannot upload to the rubber server. In the PUT method, I got the SignatureDoesNotMatch error, but my parameter fields are correct. has anyone faced this issue provide your feedback/suggestion. Advance thanks for all. Sourc..

Read more

$client = Storage::disk(‘s3’)->getDriver()->getAdapter()->getClient(); $bucket = config(‘filesystems.disks.s3.bucket’); $command = $client->getCommand(‘GetObject’, [ ‘Bucket’ => $bucket, ‘Key’ => $file_path // file name in s3 bucket which you want to access ]); $request = $client->createPresignedRequest($command, ‘+60 minutes’); I want to get access of thoes images which are in S3 private bucket for all time. Sourc..

Read more

I am trying to deploy Laravel application with MongoDB ext enabled for php in AWS Elastic Beanstalk. I have the following configurations in .ebextensions File: 01_install_mongo.config packages: rpm: php-pear: [] php-devel: [] gcc: [] files: "/etc/php.d/99mongo.ini": mode: "000755" owner: root group: root content: | extension=mongo.so commands: install_mongo_driver_command: command: sudo pecl install mongodb ignoreErrors: true I ..

Read more

I have worked on some older Laravel apps (5.x) which have mapped uploads to a AWS S3 disk with credentials such as: ‘s3’ => [ ‘driver’ => ‘s3’, ‘key’ => env(‘AWS_KEY’), ‘secret’ => env(‘AWS_SECRET’), ‘region’ => env(‘AWS_REGION’), ‘bucket’ => env(‘AWS_BUCKET’), ], In Laravel 8, the keys have been renamed: ‘s3’ => [ ‘driver’ => ‘s3’, ..

Read more

I have a profile page where user uploads their driving license image, I’m storing these images in Amazon s3 bucket with private visibility $path = $request->file(‘image’)->store(‘avatars’, ‘s3’) . I want to display this image in user profile page, As the files are private to access these images i found solution that i have to create ..

Read more

I am using the AWS facade for Laravel and I can instantiate a CloudSearchDomainClient object like this: $c = AWS::createClient(‘cloudsearchdomain’, [‘endpoint’ => ‘{our-endpoint}’]); But when I attempt to search like so: $c->search([‘query’ => ‘test’]); I get this error: AwsCloudSearchDomainExceptionCloudSearchDomainException with message ‘Error executing "Search" on "2013-01-01/search"; AWS HTTP error: cURL error 6: Could not resolve ..

Read more