I have deployed neo4j to ec2 using this https://github.com/neo4j-contrib/ec2neo
I am getting 503 service not available error. How can I access the neo4j logs on ec2. Can anybody help please.
The steps to access the logs are given in: ec2neo Output
Select the CloudFormation stack that you used to create the instance. Click on Outputs tab. It will give you the actual ssh command to use to access the EC2 instance.
Related
I have created a windows instance and got .rdp file. How can i get the access logs i.e WHO and WHEN the instance is logged into with this .rdp file. Also, how much time was it used. Need help with the approaches of how to achieve this.
that possible completely to get each events log using Cloudwatch log Agent and system manager service which work on SSM Agents but this will work for Instances have Outbound Access to send logs to Cloudwatch. and the best part is AWS have amazing documentation for the same to setup a Cloudwatch for Windows Instances . Please have a look on this Windows logs with Cloudwatch
I have myself setup it for Windows server as per the need we can be flexible. let me know if you stuck while following this document.
This is one of the best approach .
I deployed My Springboot Application in Aws Elasticbeanstalk. In my application i have a module to upload an profile picture and i am saving it in Aws S3,its working fine in local server,but not working in Elasticbeanstalk.I am getting Permission Denied Error.Any One Please help me to solve this issue.
aws elastic beanstalk logs
Check if your instance profile has permissions to upload to S3. I suppose locally you are using Secret and Access keys which have access to s3. However on the ec2 instance started by elasticbeanstalk probably has no permissions to s3.
Checkout https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/iam-instanceprofile.html for more details on how to configure the role for your instance.
Hope this helps!
I have created AWS EC2 Windows 16 instance and was able to attach additional volume etc...and so far so good.
I wanted to try to use CLI commands.
Installed CLI on AWS-EC2 windows instance. and did according the instructions attached in the picture below.
when I type "aws ec2 describe-instances I get "Could not connect to the endpoint URL"
When I was creating the instance, I chose a "Security Group" that had HTTPS enabled.
any help?
You probably have something wrong in your default profile for the default region.
Check your file at ~/.aws/config (or C:\Users\USERNAME \.aws\config for windows users), you have something like
[default]
region=us-west-2a
...
Fix the region to region=us-west-2 and then the command will work correctly
You can review the AWS page to make sure you have a valid endpoint http://docs.aws.amazon.com/general/latest/gr/rande.html, they are classified by AWS services
I have used aws data pipeline to execute my bash shell tasks without any problems, in this case, aws data pipeline uses default EC2 instance to execute my bash shell works.
Right now, I want to use aws data pipeline to connect my customized EC2instance ( vpc ) without using aws default EC2 instance to run my shell tasks by following the following two links, but got error :"Resource not healthy: TERMINATED" ( failureReason )
http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-how-task-runner-user-managed.html
http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-resources-vpc.html
Based on aws document (step 4): Task Runner connects to the AWS Data Pipeline web service using HTTPS. If you are using an AWS resource, ensure that HTTPS is enabled in the appropriate routing table and subnet ACL. If you are using a firewall or proxy, ensure that port 443 is open.
Do I need to run a small HTPPS service ( dummy is fine ) on my customized EC2 instance machine?. The aws document is not clear about it.
Any suggestions, advice will be appreciated greatly!!
I figured out the solution by trying this: just opening port 80 to secure group too on my customized EC2 ( vpc ) instance. Now data pipeline can connect my customized EC2 and worked well:)
I am new with AWS, and recently spun up an EC2 instance, and installed elasticsearch on it. I can now access elasticesearch via http://localhost:9200 after ssh into the box, but I am a little stuck on how to access this from external.
What's the best practice if I would like to write some app to access this EC2 instance? And how can I configure it so it can be access externally?
Any help would be appreciated.
Thanks.