AWS

Amazon Web Services (AWS), is a collection of remote computing services, also called web services, that make up a cloud-computing platform  operated from 11 geographical regions across the world. The most central and well-known of these services include Amazon Elastic Compute Cloud, also known as "EC2", and Amazon Simple Storage Service, also known as "S3". Other services include Elastic MapReduce (EMR), Route 53 (a DNS web service),  provides a highly available and scalable Domain Name System (DNS) web service, Virtual Private Cloud (VPC), storage, database, deployment and application services.

Share tech news, updates, or what's on your mind.

Sign up to Post

I have a application that references my C drive.  When it is running on AWS workspace, it crashes because the C partition is hidden.  How can I unhide the C drive in my AWS workspace?
0
Firewall Management 201 with Professor Wool
Firewall Management 201 with Professor Wool

In this whiteboard video, Professor Wool highlights the challenges, benefits and trade-offs of utilizing zero-touch automation for security policy change management. Watch and Learn!

I have a new Citrix virtual desktop environment running in AWS, the server are running on general purpose M4 instances at the moment but i noticed the users are using a lot of memory per session. To increase the number of users per server I would like to use R4 instances which have more memory. Just wondering if anyone has used R4 instances for Citrix and if they have ad any issues.
0
How to access aws s3 bucket out side form aws docker container .

How to configure aws configure in that
1
Hi Experts

Could you point a strategy to access a DB that remains at AWS cloud by using Visual FoxPro?

The reason it to reuse an alrealdy developed app to do that.

Thanks in advance!
0
We have a site hosted within an AWS instance and we have been tasked with applying a security certificate to the site.
I have an existing wildcard certificate that has been purchased from Godaddy.
Using AWS Certificate Manager I am trying to import the certificate but i'm unsure what the remaining process is.

In AWS Certificate Manager i am using the Provision certificates option.
I choose 'Import a certificate' to import an existing certificate instead of requesting a new one.

Under 'Select certificate' i'm asked to enter three fields:

cert-exexch-issue
- Certificate Body
- Certificate Private key
- Certificate chain

Which of my ssl certs that i downloaded from Godaddy need to be cut/paste where?
Much appreciated
0
I have understood the concept of using AWS Autoscaling but How to use autoscaling on aws for dynamic website(frequent code change & frequent image updation)?
0
I have a number of Windows machines on Amazon Workspaces. They are Virtual desktops running on Windows2016 and using Amazon's Workspaces client.  We have created file shares on 2 users Workspace, but they are not visible to any of the other Workspaces.  All Workspaces are on the same IP Subnet.  We also have EC2 machines on the same subnet.  The Workspaces can see the shares on the EC2 machines, but not on Workspaces. The EC2 servers don't see the Workspaces share either.

We can see the shares locally.  I have turned off the Windows firewall and adjusted the security policy for the subnet.  All are in the same VPC.  It seems there is a wrapper around the Virtual Workspaces that is preventing this from working.

We would really like to have a folder on the Workspace shared out. It is Peachtree Quantum 50 Accounting and the files really work best when they are on a master machine and shared vs being on just an Server share. I want to avoid having to build an EC2 just for having the server agents.  We run into other issues putting Peachtree on EC2.
0
I have established two VPN connections in AWS from an environment to a third party Cisco VPN firewall.  Everything is set up as it should be, but we are unable to bring the tunnel up.

I a nutshell, we have established two independent VPN connections, with each on going to a different datacentre.  The configuration has been supplied to the 3rd party agency who are managing an external service that connects through the tunnel to another agency.  The two tunnels are set up as Active and DR tunnels, but will carry the same traffic. in the event of failure, and then our traffic is NAtted twice to reach the destination.

We have tried a number of things but still unable to get the tunnels up from either main or DR datacentre firewalls.

The problem seems to lie in the tunnel configuration; apparently there is an issue with using SLA monitors to keep the tunnel up from the Cisco side; obviously without this the VPN connection will drop.  The information I have seen seems to imply we need to setup a "route all" tunnel at the customer side and then employ static routes to get the right traffic down the tunnel to the firewall - which will cause major issues as our VPC supernet overlaps their networks; also we only want to allow 3 machines on two subnets through the tunnel.

Our other problem is how the VPN failover will work for the DR tunnel.  They are monitoring and will automatically fail over to the secondary VPN tunnel should an issue occur with the primary datacentre …
0
Hi, I have a MS SQL Server running in a data centre and I would like to move it into a new SQL Instance running on AWS EC2. I know i can take a backup of the DB and restore it to the AWS Instance but i was wondering if there were any other options for migrating the database to the new server. I know AWS have a database migration tool, just wondering if anyone had had experience using it ?
0
Can you use Direct Connect to reach an AWS public IP address? We have a service that is critical to
our business that's reached via the Internet. There were some intermediary routing problems and
we couldn't reach it for a time - long latency and packet drops. Since we already have some
Direct Connects to AWS for getting to our VPC - I wondered if there was any way for me to
route traffic destined for publicly facing services with public IP addresses to be reached via
the direct connect circuits instead of the less-guaranteed Internet. Thank you for any insight.
0
PMI ACP® Project Management
LVL 12
PMI ACP® Project Management

Prepare for the PMI Agile Certified Practitioner (PMI-ACP)® exam, which formally recognizes your knowledge of agile principles and your skill with agile techniques.

Hi,

Cisco ACI (SDN) API for integration with cloud management platform, google cloud, AWS or etc for my coming project?

My Explanation for your kind clarification:-
 

1. Uses Cisco CloudCenter Manager user interface or REST API or OpenDaylight APIs (REST) on Northound. Below is the simple diagram and full explanation from Cisco

2. OpenFlow 1.0 / 1.3, OvenVSwitchDB (OVSDB), Netconf/Yang, BGP-LS, PCEP  to programmatically change the configuration of a network device to enable communication on southbound (plug-ins)

3. Network services APIs: Java


Tks.
0
I am writing ETL scripts using PySpark in AWS Glue. I have a few issues that I am trying to tackle. My source and target databases are Oracle 12c Standard.

1 How to capture incremental updates in the pyspark dataframe?
2 How to update existing record or insert new records in database in the incremental fashion?
3 Is it possible to perform above tasks using python alone instead of pyspark ?
0
how to configure aws configure in docker file

my docker file

FROM ubuntu


RUN apt-get update && apt-get install -y awscli


cmd docker pull mariadb
cmd  docker pull mysql
CMD ["/test.sh"]

test.sh
 aws configure set aws_access_key_id default_access_key xxxxxx
 aws configure set aws_secret_access_key default_secret_key xxxxxx
aws configure set default.region us-west-2
 
aws s3 cp s3://mariadbs3bucket/test.txt /test

 mysql -u xxx-pxxx --host xxx -P 3306  --socket=TCP/IP  -e "USE myDB; insert into myDB.tt values(50000);"

the above both command are working fine while running in ec command line
there i have set the aws configure
0
how to access s3 bucket in the docker file.

its expecting aws configure , i export the  key's but its does not help for me!!!
0
Is there a way to programmatically create a signed URL to a file in a AWS S3 bucket that will expire in a few minutes and will only allow a specific client IP Address?  I want to do this in Python so if you can send me Python specific links or examples, it would really help!
0
How to connect already running mariadb container

I found this query

$ docker run --name appName --link some-mariadb:mysql -d application-that-uses-mysql

i am confuse with the syntax ?
can any one tell me how to use this ??
0
Hi All,

I have created a Powershell script that processes a CSV and add tags to Azure and Aws resources. I have one script for Azure and another script for Aws.

is it possible to create a CI pipeline on visual studio team services or Jenkins, team city etc so when a CSV file is updated with new values and is committed it will automatically firewall the Powershell script and add the tag values.

regards,
kay
0
what are the package i need to import docker shell script to read AWS s3 bucket file
0
how to write docker script to update maria DB

1. How to connect docker to Maria DB
2. How to do insert and update in Maria DB
0
The Lifecycle Approach to Managing Security Policy
The Lifecycle Approach to Managing Security Policy

Managing application connectivity and security policies can be achieved more effectively when following a framework that automates repeatable processes and ensures that the right activities are performed in the right order.

Old software needing to be virtualized, hopefully on AWS. Wondering if it would be better suited to outsouce an upgrade for this or simply get this basic jBoss server operational.

I am using this as a template for the steps: https://mobiarch.wordpress.com/2012/07/30/running-jboss-as-7-on-amazon-ec2/ but it is obviously for a newer version so I have tweaked it a bit.

I have an application that was coded on jBoss3.2.3 almost 15 years ago and I'm having difficulty getting a basic server operational on AWS. I'm using a micro instance of Red Hat, and have installed JDK 1.5 using these steps: https://dzone.com/articles/installing-oracle-java6-ubuntu

"java -version"

[ec2-user@ip-172-31-24-211 bin]$ java -version
java version "1.5.0_22"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_22-b03, mixed mode)

Open in new window


Also have set this in <JBOSS>/bin/run.conf.: JAVA_OPTS="-Xms64m -Xmx86m -XX:MaxPermSize=64m"

Trying to start just the basic install from <JBOSS>/bin/:
[ec2-user@ip-172-31-24-211 bin]$ sh run.sh
run.sh: Missing file: /lib/tools.jar
run.sh: Unexpected results may occur.  Make sure JAVA_HOME points to a JDK and not a JRE.
================================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: /home/ec2-user/jboss-3.2.3

  JAVA: java

  JAVA_OPTS: -Xms64m -Xmx86m -XX:MaxPermSize=64m -Dprogram.name=run.sh

  CLASSPATH: 

Open in new window

0
We are attempting to use AWS Workspaces with the restriction that the end user machine must have a client certificate installed in order to access the workspace.  The AWS documentation states "You can use your preferred solution to install certificates to your fleet of client devices; for example, System Center Configuration Manager (SCCM) or mobile device management (MDM)."  The issue is the client machines will be offsite and managed (or lack thereof) by a contractor so we need to provide the contractor documentation on exactly how they can do it, including manually installing the certificate(s) should they choose to go that route since it's only 4 users.

Does anyone have experience with this or know of more in depth documentation from Amazon on how to install the certificates?  A coworker handed this off to me and my experience with certificates is limited so I was hoping for more help than above from Amazon.
0
Hi,

I have a task in AWS that is started by ECS. I have developed a Cloudformation script that creates the ECS cluster, service, task definitions and containers.

The EC2 instances (2 to begin with) are initiated and are healthy. ECS then creates the tasks on each EC2 instance. However, have 1 minute, the tasks are stopped by ECS and it tries to recreate it. I presume this is something to do with the scheduler on AWS and not getting a healthy check back.

It is a node app running on port 300 which is mapped to the container. If I login to the EC2 instance and do a simple curl 127.0.0.1:32XXX (host port) then I get "no reply from server". Ok so it is something wrong with the image or container.

However, if I launch my own container of the same image publishing the ports ("docker run -d -p 32810:3000 <image> yarn start") and then do curl 127.0.0.1:32810 then I get a response from the server.

I cannot figure out how to debug this as there are no logs with any errors. Anyway..(I created the one on port 32810) the image is the same in both. I can only figure it is something to do with what the ECS agent does when it boots a task.

48ccad832ad2        <image>   "yarn start"        9 seconds ago       Up 8 seconds        0.0.0.0:32831->3000/tcp   ecs-test-InterfaceCogTaskDefinition-1UE2FONT2RQU3-1-InterfaceCog-f092fec2d9d1e8a90300
36016de55b81        <image>   "yarn start"        23 minutes ago      Up 23 minutes       0.0.0.0:32810->3000/tcp   practical_banach

0
I am looking for a DR solution for my file server in AWS, it currently hosts user profiles and shared folders. Can i use DFS names Spaces and DFSR to replicate between two file servers in different Availability Zones for a DR solutions ?
0
I am working with PHP OOP. While doing things, on my vagrant testing server I set up some code that connects to a database and performs PHP. In the PHP I have files that are lower case names. A lot of my code names these classes in proper case (e.g., DatabaseObject). The code I used on the testing server (vagrant) works flawlessly. The next thing that I did is move my code to an AWS EC2 instance. Now it is there, and I am getting errors. After trying some things, I realized that my errors are related to my class names not being in the same case as my *.php files that hold them. This is the first time that I have seen this. I followed some instructions on how to add lines to the httpd.conf file but there is still no change. I then just manually changed the names of the *.php files and things started to work. However I am saying to myself, there has to be a simpler way? For one, my local server via Vagrant does not have this problem. Can anyone offer any advice? Thanks

Warning: include(classes/DatabaseObject.class.php): failed to open stream: No such file or directory in /var/www/html/chain_gang/private/initialize.php on line 45

Warning: include(): Failed opening 'classes/DatabaseObject.class.php' for inclusion (include_path='.:/usr/share/pear7:/usr/share/php7') in /var/www/html/chain_gang/private/initialize.php on line 45

Fatal error: Uncaught Error: Class 'DatabaseObject' not found in /var/www/html/chain_gang/private/initialize.php:51 Stack trace: #0 

Open in new window

0
Hi ,

I need a help.

I have an lightsail instance on aws which is running ubuntu 16.04 LTS with Bitnami LAMP (No gui) .

I use putty to login . Login username will be bitnami and there is no password ,instead of password we use a default-key pair for authentication which was downloaded from aws console.

Now the Problem is my colleague was resigned and he too has the default-pair key .

I either to set password for bitnami so that even if the same key-pair is used the password will get prompted or i want to change the key-pair.

Could someone help me to accomplish this task .

PS:- i tried changing the user bitnami password , but with default pair key login,instance doesnt prompt for the bitnami password.
0

AWS

Amazon Web Services (AWS), is a collection of remote computing services, also called web services, that make up a cloud-computing platform  operated from 11 geographical regions across the world. The most central and well-known of these services include Amazon Elastic Compute Cloud, also known as "EC2", and Amazon Simple Storage Service, also known as "S3". Other services include Elastic MapReduce (EMR), Route 53 (a DNS web service),  provides a highly available and scalable Domain Name System (DNS) web service, Virtual Private Cloud (VPC), storage, database, deployment and application services.